mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix infinite reload loop due to bad cherry pick
Fix code to respect coding standard
This commit is contained in:
@@ -123,7 +123,6 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
updateResolution();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function submitCustomRange(frmdata) {
|
function submitCustomRange(frmdata) {
|
||||||
@@ -165,7 +164,8 @@ $(window).on('resize', function(){
|
|||||||
function resizeend() {
|
function resizeend() {
|
||||||
if (new Date() - rtime < delta) {
|
if (new Date() - rtime < delta) {
|
||||||
setTimeout(resizeend, delta);
|
setTimeout(resizeend, delta);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
timeout = false;
|
timeout = false;
|
||||||
updateResolution();
|
updateResolution();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user