Skip to content

Commit f8f3ef4

Browse files
Merge pull request Aerolab#8 from hlfcoding/patch-3
Shorten setInterval call
2 parents bb1685b + 270d7ce commit f8f3ef4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

midnight.jquery.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,7 @@
252252

253253
// NANANANANANANANA GRASAAAAA
254254
// (This is the ghetto way of keeping the section values updated after any kind of reflow. The overhead is minimal)
255-
setInterval(function(){
256-
recalculateSections();
257-
}, 1000);
255+
setInterval(recalculateSections, 1000);
258256

259257

260258
var recalculateHeaders = function(){

0 commit comments

Comments
 (0)