Skip to content

Commit c87d6ab

Browse files
committed
Merge branch 'master' into gh-pages
2 parents e33736c + afd621a commit c87d6ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sudo: required
2-
dist: trusty
2+
dist: focal
33

44
language: node_js
55
node:

js/file_system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Object.assign(Blockbench, {
4848
let isIOS = ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) ||
4949
(navigator.userAgent.includes("Mac") && "ontouchend" in document);
5050

51-
if (isIOS && options.extensions && options.extensions.length > 1) {
51+
if ((isIOS || Blockbench.isTouch) && options.extensions && options.extensions.length > 1) {
5252
let ext_options = {};
5353
options.extensions.forEach(extension => {
5454
ext_options[extension] = extension;

0 commit comments

Comments
 (0)