Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Oct 24, 2024
2 parents e33736c + afd621a commit c87d6ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sudo: required
dist: trusty
dist: focal

language: node_js
node:
Expand Down
2 changes: 1 addition & 1 deletion js/file_system.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Object.assign(Blockbench, {
let isIOS = ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) ||
(navigator.userAgent.includes("Mac") && "ontouchend" in document);

if (isIOS && options.extensions && options.extensions.length > 1) {
if ((isIOS || Blockbench.isTouch) && options.extensions && options.extensions.length > 1) {
let ext_options = {};
options.extensions.forEach(extension => {
ext_options[extension] = extension;
Expand Down

0 comments on commit c87d6ab

Please sign in to comment.