Module: deluge
Branch: master
Commit: 070443f811db33d732098d9dafc899cce7de0f94

Author: Damien Churchill <[email protected]>
Date:   Mon Apr 19 16:29:40 2010 +0100

only use the fix for webkit browsers

---

 .../web/js/ext-extensions/form/TriggerFieldFix.js  |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/web/js/ext-extensions/form/TriggerFieldFix.js 
b/deluge/ui/web/js/ext-extensions/form/TriggerFieldFix.js
index e40b574..0d42ab8 100644
--- a/deluge/ui/web/js/ext-extensions/form/TriggerFieldFix.js
+++ b/deluge/ui/web/js/ext-extensions/form/TriggerFieldFix.js
@@ -29,6 +29,8 @@
  * this exception statement from your version. If you delete this exception
  * statement from all source files in the program, then also delete it here.
  */
+
+if (Ext.isWebKit) {
 Ext.override(Ext.form.TriggerField, {
        onResize: function(w, h) {
                Ext.form.TriggerField.superclass.onResize.call(this, w, h);
@@ -39,3 +41,4 @@ Ext.override(Ext.form.TriggerField, {
                this.wrap.setWidth(w);
        }
 });
+}

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to