From dcaca7294c48790ef333ac6eb40b1db0db4f7a14 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 5 May 2012 00:19:53 +0200 Subject: [PATCH] Also for wizard --- couchpotato/static/scripts/page/settings.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/couchpotato/static/scripts/page/settings.js b/couchpotato/static/scripts/page/settings.js index 8be3881d..20ca457e 100644 --- a/couchpotato/static/scripts/page/settings.js +++ b/couchpotato/static/scripts/page/settings.js @@ -969,6 +969,11 @@ Option.Choice = new Class({ }); $(tag).inject(self.tag_input); + if(self.initialized > 1) + tag.setWidth(); + else + (function(){ tag.setWidth(); }).delay(10, self); + self.tags.include(tag); return tag; @@ -1006,7 +1011,7 @@ Option.Choice = new Class({ self.replaceInput(); self.setAllWidth(); }, - + setAllWidth: function(){ var self = this; self.tags.each(function(tag){