diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-10-27 11:45:18 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-10-27 11:45:18 +0000 |
commit | 4ac53c34a72190f2793cf0c74a42c786845410a1 (patch) | |
tree | 14c0730cb2daef273b311cae66be6b9b08ff9cff /misc | |
parent | bb7bf237df5c0757c2e3de676b2929532a6649fe (diff) | |
download | brdo-4ac53c34a72190f2793cf0c74a42c786845410a1.tar.gz brdo-4ac53c34a72190f2793cf0c74a42c786845410a1.tar.bz2 |
#178818 by fajerstarter: disable the broken teaser splitter in Konqueror (jQuery support for Konqueror is quite sketchy)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/teaser.js | 5 |
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'); |