diff --git a/couchpotato/static/scripts/page/settings.js b/couchpotato/static/scripts/page/settings.js index 8be3881..20ca457 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){