only load new content onpopstate if the mid has actually changed

This commit is contained in:
Mario Vavti 2019-01-14 10:14:37 +01:00
parent 90b6afe06b
commit f3554804bf

View File

@ -24,7 +24,7 @@
}); });
window.onpopstate = function(e) { window.onpopstate = function(e) {
if(e.state !== null) if(e.state !== null && e.state.b64mid !== bParam_mid)
getData(e.state.b64mid, ''); getData(e.state.b64mid, '');
}; };
}); });