Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
MAIN-10298 | Replace const with var
Browse files Browse the repository at this point in the history
  • Loading branch information
slayful committed Apr 25, 2017
1 parent 462a74f commit a926402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define('ext.wikia.design-system.on-site-notifications.tracking', [
}.bind(this));
view.onDropDownClick.attach(function (_, event) {
// when drop down is closed the parent does not have wds-is-active
const active = $(event.currentTarget).parent('.wds-is-active');
var active = $(event.currentTarget).parent('.wds-is-active');
if (active.length === 0) {
this.menuOpen();
}
Expand Down

0 comments on commit a926402

Please sign in to comment.