Skip to content

Commit f388069

Browse files
authored
Remove var declaration as it is already present on top of function
1 parent f0a8ba8 commit f388069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/collapsible.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ define([
114114
}
115115
}
116116
} else if (this.options.saveState && !this.options.disabled) {
117-
var state = this.storage.get(this.stateKey);
117+
state = this.storage.get(this.stateKey);
118118
if (typeof state === 'undefined' || state === null) {
119119
this.storage.set(this.stateKey,this.options.active);
120120
} else if (state === true) {

0 commit comments

Comments
 (0)