diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-13 09:52:55 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-13 09:52:55 +0100 |
commit | 67168e12e6d786e916ffdbf72cda5e69be0a680e (patch) | |
tree | cebda8a6293c0d27528427600f05b22e734e8ce5 | |
parent | 3b2f33561bd7611ed9589a5d24513ad9e0803dbf (diff) | |
parent | 0402658c75f5d7208215e7ed28b8335d7648a677 (diff) | |
download | nextcloud-server-67168e12e6d786e916ffdbf72cda5e69be0a680e.tar.gz nextcloud-server-67168e12e6d786e916ffdbf72cda5e69be0a680e.zip |
Merge pull request #13299 from owncloud/fix-ie8
usage of const in JS is supported in IE11+
-rw-r--r-- | search/js/search.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/search/js/search.js b/search/js/search.js index 318858ebd71..57de07bf7fd 100644 --- a/search/js/search.js +++ b/search/js/search.js @@ -155,7 +155,8 @@ } var $status = $searchResults.find('#status'); - const summaryAndStatusHeight = 118; + // summaryAndStatusHeight is a constant + var summaryAndStatusHeight = 118; function isStatusOffScreen() { return $searchResults.position() && ($searchResults.position().top + summaryAndStatusHeight > window.innerHeight); |