diff --git a/index.js b/index.js index 1d24e02..9191f8e 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ window.downloadStl = () => { }; window.downloadSketch = () => { - store.dispatch( (dispatch, getState) => { + store.dispatch((dispatch, getState) => { const state = getState(); const json = sketchDataToJSON(state.sketcher.present); const blob = JSONToBlob(json); @@ -50,7 +50,7 @@ window.downloadSketch = () => { window.addEventListener('keydown',(event) => { // downloadSketch const key = keycode(event); - if (key=='s') downloadSketch(); + if (key === 's') downloadSketch(); console.log(event.shiftKey, key); }); diff --git a/webpack.config.js b/webpack.config.js index 307b822..2100e0a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -83,7 +83,7 @@ module.exports = { favicon: './favicon.ico', template: require('html-webpack-template'), inject: false, - mobile: true, + mobile: false, scripts: appMode ? ['cordova.js'] : null, appMountId: 'app', meta: [