From 4ac53c34a72190f2793cf0c74a42c786845410a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sat, 27 Oct 2007 11:45:18 +0000 Subject: #178818 by fajerstarter: disable the broken teaser splitter in Konqueror (jQuery support for Konqueror is quite sketchy) --- misc/teaser.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'misc') diff --git a/misc/teaser.js b/misc/teaser.js index 973734e81..00b96afe1 100644 --- a/misc/teaser.js +++ b/misc/teaser.js @@ -6,6 +6,11 @@ * Note: depends on resizable textareas. */ Drupal.behaviors.teaser = function(context) { + // This breaks in Konqueror. Prevent it from running. + if (/KDE/.test(navigator.vendor)) { + return; + } + $('textarea.teaser:not(.teaser-processed)', context).each(function() { var teaser = $(this).addClass('teaser-processed'); -- cgit v1.2.3