#651810 follow-up by ksenzee: Improve documentation.
parent
9513dd016f
commit
73439f1c1c
|
@ -366,7 +366,7 @@ Drupal.overlay.redirect = function (link) {
|
||||||
link = absolute + link;
|
link = absolute + link;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the link is already open, force the haschange event.
|
// If the link is already open, force the hashchange event to simulate reload.
|
||||||
if (location.href == link) {
|
if (location.href == link) {
|
||||||
$(window).trigger('hashchange.overlay-event');
|
$(window).trigger('hashchange.overlay-event');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue