Skip to content

Instantly share code, notes, and snippets.

@kitek

kitek/redrawPage.js

Created Jul 19, 2013
Embed
What would you like to do?
Funkcja wykorzystywana do force re-renderingu (bug@4.2.2 z pustymi stronami)
// Funkcja wykorzystywana do force re-renderingu (bug@4.2.2 z pustymi stronami)
function redrawPage(top) {
document.body.scrollTop = 1;
document.body.scrollTop = 0;
$(function() {
document.body.scrollTop = top + 1;
document.body.scrollTop = top;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.