summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/teaser.js5
1 files changed, 5 insertions, 0 deletions
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');