|
@@ -866,6 +866,7 @@ function processOptions() { |
|
|
// Show loading box |
|
|
// Show loading box |
|
|
document.getElementById('load_box').style.display = 'inline'; |
|
|
document.getElementById('load_box').style.display = 'inline'; |
|
|
} |
|
|
} |
|
|
|
|
|
//fallthrough |
|
|
case 'popoutautoload': |
|
|
case 'popoutautoload': |
|
|
// Hide load button |
|
|
// Hide load button |
|
|
document.getElementById('load_button').style.display = 'none'; |
|
|
document.getElementById('load_button').style.display = 'none'; |
|
@@ -887,7 +888,8 @@ function processOptions() { |
|
|
case 'header': |
|
|
case 'header': |
|
|
// Add contents to header |
|
|
// Add contents to header |
|
|
document.getElementsByTagName('head')[0].innerHTML += config[key]; |
|
|
document.getElementsByTagName('head')[0].innerHTML += config[key]; |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
case 'showZoomCtrl': |
|
|
case 'showZoomCtrl': |
|
|
if (config[key]) { |
|
|
if (config[key]) { |
|
|
// Show zoom controls |
|
|
// Show zoom controls |
|
@@ -896,6 +898,7 @@ function processOptions() { |
|
|
// Hide zoom controls |
|
|
// Hide zoom controls |
|
|
document.getElementById('zoomcontrols').style.display = 'none'; |
|
|
document.getElementById('zoomcontrols').style.display = 'none'; |
|
|
} |
|
|
} |
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
case 'showFullscreenCtrl': |
|
|
case 'showFullscreenCtrl': |
|
|
if (config[key]) { |
|
|
if (config[key]) { |
|
@@ -905,6 +908,7 @@ function processOptions() { |
|
|
// Hide fullscreen control |
|
|
// Hide fullscreen control |
|
|
document.getElementById('fullwindowtoggle_button').style.display = 'none'; |
|
|
document.getElementById('fullwindowtoggle_button').style.display = 'none'; |
|
|
} |
|
|
} |
|
|
|
|
|
break; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|