diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-13 08:20:37 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-13 08:20:37 +0100 |
commit | 0402658c75f5d7208215e7ed28b8335d7648a677 (patch) | |
tree | a38be900ad4a9d7be5b2ca3e136419d9623c8033 /search | |
parent | 3ece0a7767e51082d89c549a742f0faed0b7eda5 (diff) | |
download | nextcloud-server-0402658c75f5d7208215e7ed28b8335d7648a677.tar.gz nextcloud-server-0402658c75f5d7208215e7ed28b8335d7648a677.zip |
usage of const in JS is supported in IE11+
Diffstat (limited to 'search')
-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); |