Skip to content

Instantly share code, notes, and snippets.

@leeight
Created July 2, 2013 09:46
Show Gist options
  • Save leeight/5908033 to your computer and use it in GitHub Desktop.
Save leeight/5908033 to your computer and use it in GitHub Desktop.
....
....
function G(M) {
if ($lmn8 && $lmn8.container && c.length) {
var N = $lmn8.container.offset();
if (parseInt(N.left, 10) !== 0 || parseInt(N.top, 10) !== 0) {
$lmn8.container.css("position", "absolute").offset({
top: 0,
left: 0
})
}
for (var L = 0; L < c.length; L++) {
c[L].update(false, M)
}
}
}
....
....
if (!a) {
a = window.setInterval(G, N.updateInterval);
u(window).resize(G)
}
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment