diff --git a/js/init_layout.js b/js/init_layout.js index 46ae007..7034376 100644 --- a/js/init_layout.js +++ b/js/init_layout.js @@ -26,9 +26,9 @@ function doClientAndOrientationStuff() { var ww = 0; //get proper width if (window.screen.availWidth) { ww = window.screen.availWidth; - if( /iPhone|iPad|iPod/i.test(navigator.userAgent) ) { - ww = window.innerWidth; - } +// if( /iPhone|iPad|iPod/i.test(navigator.userAgent) ) { +// ww = window.innerWidth; +// } } else if($(window).width()) { ww = $(window).width(); } else { diff --git a/js/main.js b/js/main.js index 3252870..06e515b 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,7 @@ var debugMode = false; // debug mode var sendPrintCommands = true; // if Doodle3d should send print commands to the 3d printer var communicateWithWifibox = true; // if Doodle3d should try interfacing with the wifibox (in case one is not connected) -var wifiboxIsRemote = true; // if Doodle3d should try interfacing with the wifibox (in case one is not connected) +var wifiboxIsRemote = true; // if Doodle3d should try interfacing with the wifibox (in case one is not connected) var printer = new Printer();