diff --git a/bower.json b/bower.json index 757f3ad6..26861624 100644 --- a/bower.json +++ b/bower.json @@ -17,7 +17,7 @@ "intl-tel-input": "~4.0.1", "blueimp-load-image": "~1.13.0", "blueimp-canvas-to-blob": "~2.1.1", - "twemoji": "~1.2.1", + "twemoji": "~2.0.5", "emojijs": "https://github.com/iamcal/js-emoji.git", "autosize": "~3.0.6" }, diff --git a/components/twemoji/twemoji.js b/components/twemoji/twemoji.js index 75be0872..83dce19e 100644 --- a/components/twemoji/twemoji.js +++ b/components/twemoji/twemoji.js @@ -471,7 +471,7 @@ var twemoji = (function ( '"' ); attrib = options.attributes(icon, variant); - for (attrname in attrib) { + for (attrname in attrib) { if ( attrib.hasOwnProperty(attrname) && // don't allow any handlers to be set + don't allow overrides