Commit 0fbace72 by Torkel Ödegaard

Row: fix for row editor and scroll pos, Fixes #846

parent af8fec94
...@@ -34,6 +34,7 @@ function (angular, $) { ...@@ -34,6 +34,7 @@ function (angular, $) {
function hideScrollbars(value) { function hideScrollbars(value) {
if (value) { if (value) {
window.scrollTo(0,0);
document.documentElement.style.overflow = 'hidden'; // firefox, chrome document.documentElement.style.overflow = 'hidden'; // firefox, chrome
document.body.scroll = "no"; // ie only document.body.scroll = "no"; // ie only
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment