Skip to content

Commit 1266427

Browse files
committed
Fix wrong variable name
1 parent a5dc1d1 commit 1266427

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

scripts/JSRootPainter.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5375,17 +5375,16 @@
53755375
switch(action) {
53765376
case 'enable': is_visible = true; break;
53775377
case 'enterbtn': return; // do nothing, just cleanup timeout
5378-
case 'timeout': isvisible = false; break;
5379-
case 'toggle': {
5380-
state = !state; btn.property('buttons_state', state);
5378+
case 'timeout': is_visible = false; break;
5379+
case 'toggle':
5380+
state = !state;
5381+
btn.property('buttons_state', state);
53815382
is_visible = state;
53825383
break;
5383-
}
53845384
case 'disable':
5385-
case 'leavebtn': {
5385+
case 'leavebtn':
53865386
if (state) return;
53875387
return btn.property('timout_handler', setTimeout(this.toggleButtonsVisibility.bind(this,'timeout'),500));
5388-
}
53895388
}
53905389

53915390
group.selectAll('svg').each(function() {

0 commit comments

Comments
 (0)