diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-02-26 21:46:10 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-02-26 21:46:39 +0300 |
commit | c4a111c28948d56b759566b756c04a844695d720 (patch) | |
tree | 0f0ae3698592a66d46a62ab6654458e9043d8dd4 | |
parent | 9f819f4877e0d8b16a2baf5f43e60eed23d452ca (diff) |
ncp-web: fix responsive in iPadv0.46.34
-rw-r--r-- | changelog.md | 8 | ||||
-rw-r--r-- | ncp-web/ncp.js | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/changelog.md b/changelog.md index 7543396d..e562b221 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ -[v0.46.31](https://github.com/nextcloud/nextcloudpi/commit/01090ea) (2018-02-23) update: print info first +[v0.46.34](https://github.com/nextcloud/nextcloudpi/commit/2694914) (2018-02-26) ncp-web: fix responsive in iPad + +[v0.46.33](https://github.com/nextcloud/nextcloudpi/commit/dea4836) (2018-02-23) Added some useful comments for first time users + +[v0.46.32](https://github.com/nextcloud/nextcloudpi/commit/30d56ea) (2018-02-23) disable unused services for SMB and NFS + +[v0.46.31](https://github.com/nextcloud/nextcloudpi/commit/d288358) (2018-02-23) update: print info first [v0.46.30](https://github.com/nextcloud/nextcloudpi/commit/75dc2e6) (2018-02-22) add ncp-provisioning to SD card images diff --git a/ncp-web/ncp.js b/ncp-web/ncp.js index 6467ec8f..615d091b 100644 --- a/ncp-web/ncp.js +++ b/ncp-web/ncp.js @@ -64,7 +64,7 @@ $(function() if ( confLock ) return; confLock = true; - if ( window.innerWidth < 768 ) + if ( window.innerWidth <= 768 ) close_menu(); $( '#' + selectedID ).set('-active'); @@ -212,11 +212,11 @@ $(function() slide_menu_enabled = false; } - if ( window.innerWidth < 768 ) + if ( window.innerWidth <= 768 ) enable_slide_menu(); window.addEventListener('resize', function(){ - if ( window.innerWidth < 768 ) + if ( window.innerWidth <= 768 ) enable_slide_menu(); else disable_slide_menu(); |