Skip to content
Snippets Groups Projects
Commit 67168e12 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #13299 from owncloud/fix-ie8

usage of const in JS is supported in IE11+
parents 3b2f3356 0402658c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment