Merge pull request #13299 from owncloud/fix-ie8
usage of const in JS is supported in IE11+
This commit is contained in:
commit
67168e12e6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue