Remove errant ";" from the "expand_all" detection
This caused the $('#expand-all').click(); function to be called regardless of "?expand_all" being in the query string Change-Id: I83723a640209294ac656099f92fb8ad160a7e445
This commit is contained in:
parent
aefb125f2c
commit
057fbbc0f4
|
@ -37,7 +37,7 @@
|
|||
// if ?expand_all is in the query string, then expand all
|
||||
// sections. This is useful for linking to nested elements, which
|
||||
// only work if that element is expanded.
|
||||
if (window.location.search.substring(1).indexOf("expand_all") > -1); {
|
||||
if (window.location.search.substring(1).indexOf("expand_all") > -1) {
|
||||
$('#expand-all').click();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue