|
@ -99,7 +99,11 @@ |
|
|
if (window.location.hash) { |
|
|
if (window.location.hash) { |
|
|
this.$("." + this.state.namespace + "__inner a[href$='" + window.location.hash + "']").click(); |
|
|
this.$("." + this.state.namespace + "__inner a[href$='" + window.location.hash + "']").click(); |
|
|
} else { |
|
|
} else { |
|
|
this.addClass(this.$$('.' + this.state.namespace + '__inner a')[0]); |
|
|
|
|
|
|
|
|
const first = this.$$('.' + this.state.namespace + '__inner a')[0]; |
|
|
|
|
|
|
|
|
|
|
|
if (document.querySelector(first.hash)) { |
|
|
|
|
|
this.addClass(first); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// adding for outer click and all a-tags click event to close |
|
|
// adding for outer click and all a-tags click event to close |
|
|