misc: only meddle with browser history if there's a ParametersCell (#10024)

This commit is contained in:
Frédéric Péters 2016-02-18 15:00:01 +01:00
parent 465729829e
commit 2e87f43066
1 changed files with 1 additions and 1 deletions

View File

@ -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) {