Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit abf3c77

Browse files
committed
Fix useless assignment to local variable.
I don't understand this code, but I assume the assignment was meant to reset the property, not the local variable (which goes out of scope immediately afterwards).
1 parent 1766d84 commit abf3c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search/FindBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ define(function (require, exports, module) {
141141
bars.forEach(function (bar) {
142142
bar.close(true, false);
143143
});
144-
bars = [];
144+
FindBar._bars = [];
145145
}
146146
};
147147

0 commit comments

Comments
 (0)