]> git.mxchange.org Git - friendica.git/blobdiff - view/js/friendica-tagsinput/friendica-tagsinput.js
Remove DI dependency from Module\Contact\Profile
[friendica.git] / view / js / friendica-tagsinput / friendica-tagsinput.js
index 45c00641fdb65bd672925969477a09b87e114045..0aca44d5462d7a89af2d587f850f761f6be5f8bf 100644 (file)
@@ -96,7 +96,7 @@
       if (typeof item === "object" && !self.objectItems)
         throw("Can't add objects when itemValue option is not set");
 
-      // Ignore strings only containg whitespace
+      // Ignore strings only containing whitespace
       if (item.toString().match(/^\s*$/))
         return;
 
           itemTitle = self.options.itemTitle(item),
           itemThumb = self.options.itemThumb(item);
 
-      // Ignore items allready added
+      // Ignore items already added
       var existing = $.grep(self.itemsArray, function(item) { return self.options.itemValue(item) === itemValue; } )[0];
       if (existing && !self.options.allowDuplicates) {
         // Invoke onTagExists
     },
 
     /**
-     * Removes all tagsinput behaviour and unregsiter all event handlers
+     * Removes all tagsinput behaviour and unregister all event handlers
      */
     destroy: function() {
       var self = this;