summaryrefslogtreecommitdiff
path: root/itjs/boot.js
diff options
context:
space:
mode:
Diffstat (limited to 'itjs/boot.js')
-rw-r--r--itjs/boot.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/itjs/boot.js b/itjs/boot.js
index 8ca539f..78d1fd1 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -50,12 +50,13 @@ function it_boot_report(msg, file, line, error)
function it_boot(file, isretry)
{
window.it_domtimer = null;
+ var konqueror = navigator.userAgent.match(/konqueror/i);
var doc = document;
var dom = doc && (dom = document.getElementById('it_boot_dom')); // HTML has been rendered
var view = dom && doc.defaultView; // We can check if stylesheet is active
var style = view && view.getComputedStyle && view.getComputedStyle(dom, '');
- var css = style && style.getPropertyValue && (style.getPropertyValue("visibility") == "hidden"); // CSS active (inline style on tag)
- var stylesheet = style && style.getPropertyValue && (style.getPropertyValue("display") == "none"); // External stylesheet loaded
+ var css = style && style.getPropertyValue && ((style.getPropertyValue("visibility") == "hidden") || konqueror); // CSS active (inline style on tag)
+ var stylesheet = style && style.getPropertyValue && ((style.getPropertyValue("display") == "none") || konqueror); // External stylesheet loaded
if (!(doc || !(it_boot_status = "doc")) || !(dom || !(it_boot_status = "dom")) || (style && (style.length > 0) && !(stylesheet || !(it_boot_status = "stylesheet"))))
{