1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Avoid double AJAX refresh in Chrome

This commit is contained in:
Jakub Vrana
2011-03-17 23:48:38 +01:00
parent 0f4ca18427
commit cdeecc3e19
3 changed files with 3 additions and 7 deletions

View File

@@ -4,9 +4,7 @@
* @param string first three characters of database system version
*/
function bodyLoad(version) {
if (history.state) { // copied from editor/static/editing.js
onpopstate(history);
}
onpopstate(history); // copied from editor/static/editing.js
var jushRoot = '../externals/jush/';
var script = document.createElement('script');
script.src = jushRoot + 'jush.js';