Skip to content
Snippets Groups Projects
Commit 0402658c authored by Morris Jobke's avatar Morris Jobke
Browse files

usage of const in JS is supported in IE11+

parent 3ece0a77
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.
Please register or to comment