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

Utilize location.protocol

This commit is contained in:
Jakub Vrana
2011-02-15 18:11:24 +01:00
parent 15715b32ff
commit e4deeb61ba
5 changed files with 7 additions and 10 deletions

View File

@@ -2,9 +2,8 @@
/** Load syntax highlighting
* @param string first three characters of database system version
* @param string 'http' or 'https' - used after compilation
*/
function bodyLoad(version, protocol) {
function bodyLoad(version) {
var jushRoot = '../externals/jush/';
var script = document.createElement('script');
script.src = jushRoot + 'jush.js';