mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Row: fix for row editor and scroll pos, Fixes #846
This commit is contained in:
@@ -34,6 +34,7 @@ function (angular, $) {
|
||||
|
||||
function hideScrollbars(value) {
|
||||
if (value) {
|
||||
window.scrollTo(0,0);
|
||||
document.documentElement.style.overflow = 'hidden'; // firefox, chrome
|
||||
document.body.scroll = "no"; // ie only
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user