cleanup: Don't shadow variables
Having variables that share the same name in overlapping scopes is confusing and error-prone, and is best avoided. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
2e4e2500dd
commit
682bd7e97c
@ -673,7 +673,7 @@ var AllView = GObject.registerClass({
|
||||
|
||||
addFolderPopup(popup) {
|
||||
this._stack.add_actor(popup);
|
||||
popup.connect('open-state-changed', (popup, isOpen) => {
|
||||
popup.connect('open-state-changed', (o, isOpen) => {
|
||||
this._eventBlocker.reactive = isOpen;
|
||||
|
||||
if (this._currentPopup) {
|
||||
|
Reference in New Issue
Block a user