From 24c7504159e630fa06d8964b8f5a0995a837edd6 Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Sat, 12 Jul 2008 12:43:29 +0000 Subject: [PATCH] fix ie-javascript --- deluge/ui/webui/static/deluge.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/deluge/ui/webui/static/deluge.js b/deluge/ui/webui/static/deluge.js index b301a4e8d..d6c6a9692 100644 --- a/deluge/ui/webui/static/deluge.js +++ b/deluge/ui/webui/static/deluge.js @@ -6,6 +6,20 @@ There's so much crap out there,i can't find good examples. so i'd rather start from scratch, Probably broken in an unexpected way , but worksforme. */ + +/*fix IE:*/ +if(!Array.indexOf){ + Array.prototype.indexOf = function(obj){ + for(var i=0; i