Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
b4ef55f5
Commit
b4ef55f5
authored
Apr 05, 2018
by
Alexander Zobnin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrollbar: fix potential memory leaks in event handlers
parent
b6931675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
public/app/core/components/scroll/scroll.ts
+5
-5
No files found.
public/app/core/components/scroll/scroll.ts
View file @
b4ef55f5
...
@@ -61,11 +61,11 @@ export function geminiScrollbar() {
...
@@ -61,11 +61,11 @@ export function geminiScrollbar() {
);
);
// force updating dashboard width
// force updating dashboard width
appEvents
.
on
(
'toggle-sidemenu'
,
forceUpdate
);
appEvents
.
on
(
'toggle-sidemenu'
,
forceUpdate
,
scope
);
appEvents
.
on
(
'toggle-sidemenu-hidden'
,
forceUpdate
);
appEvents
.
on
(
'toggle-sidemenu-hidden'
,
forceUpdate
,
scope
);
appEvents
.
on
(
'toggle-view-mode'
,
forceUpdate
);
appEvents
.
on
(
'toggle-view-mode'
,
forceUpdate
,
scope
);
appEvents
.
on
(
'toggle-kiosk-mode'
,
forceUpdate
);
appEvents
.
on
(
'toggle-kiosk-mode'
,
forceUpdate
,
scope
);
appEvents
.
on
(
'toggle-inactive-mode'
,
forceUpdate
);
appEvents
.
on
(
'toggle-inactive-mode'
,
forceUpdate
,
scope
);
function
forceUpdate
()
{
function
forceUpdate
()
{
scrollbar
.
scroll
();
scrollbar
.
scroll
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment