misc: only meddle with browser history if there's a ParametersCell (#10024)
This commit is contained in:
parent
465729829e
commit
2e87f43066
|
@ -79,7 +79,7 @@ $(function() {
|
|||
combo_load_cell($elem.find('div.loading'), $elem.data('ajax-cell-url'));
|
||||
});
|
||||
}
|
||||
if (window.history.pushState) {
|
||||
if (window.history.pushState && $('.parameterscell').length > 0) {
|
||||
/* set initial state */
|
||||
window.history.replaceState("reload", "", window.location.href);
|
||||
$(window).on('popstate', function (event) {
|
||||
|
|
Loading…
Reference in New Issue