jQuery attribute selector value MUST be surrounded by quotes

This commit is contained in:
Leo Gallucci 2018-04-11 15:27:42 +02:00
parent f69ce9fcad
commit 27710b9324

View File

@ -209,7 +209,7 @@ requirejs([
// load tab if url hash // load tab if url hash
if (window.location.hash) { if (window.location.hash) {
$("#tabs").find("a[href=" + window.location.hash + "]").click(); $("#tabs").find("a[href='" + window.location.hash + "']").click();
} }
shutdownbutton.activate(); shutdownbutton.activate();