diff --git a/src/jquery.tokeninput.js b/src/jquery.tokeninput.js index 4b69d823..9c8967bb 100755 --- a/src/jquery.tokeninput.js +++ b/src/jquery.tokeninput.js @@ -198,6 +198,12 @@ // // Initialization // + + // an input field is only initialized once + if( $(input).data("tokenInputInitialized") ) { + return true; + } + $(input).data("tokenInputInitialized", true); // Configure the data source if (typeof(url_or_data) === "string" || typeof(url_or_data) === "function") {