diff options
| -rwxr-xr-x | StoneIsland/www/js/index.js | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/view/Serializable.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 3947b43e..0e9ee355 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -115,6 +115,8 @@ var app = (function(){ // } push.init() + window.open = cordova.InAppBrowser.open + if (navigator.onLine) { app.account.connect(window.deepLinkRoute || '/intro') app.blog.fetch(function(){ diff --git a/StoneIsland/www/js/lib/view/Serializable.js b/StoneIsland/www/js/lib/view/Serializable.js index acf77f2c..bc281b15 100755 --- a/StoneIsland/www/js/lib/view/Serializable.js +++ b/StoneIsland/www/js/lib/view/Serializable.js @@ -155,7 +155,7 @@ var SerializableView = View.extend({ } else { this.hide_errors() - window.cordova && window.Keyboard.close() + window.cordova && window.Keyboard.hide() } var finalized_data = this.finalize(valid.data) |
