Update WP and plugins
This commit is contained in:
parent
10a4713229
commit
1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions
|
|
@ -373,7 +373,7 @@ var twemoji = (function (
|
|||
iconId = grabTheRightIcon(rawText);
|
||||
i = index + rawText.length;
|
||||
src = options.callback(iconId, options);
|
||||
if (src) {
|
||||
if (iconId && src) {
|
||||
img = new Image();
|
||||
img.onerror = options.onerror;
|
||||
img.setAttribute('draggable', 'false');
|
||||
|
|
@ -434,7 +434,7 @@ var twemoji = (function (
|
|||
src = options.callback(iconId, options),
|
||||
attrib,
|
||||
attrname;
|
||||
if (src) {
|
||||
if (iconId && src) {
|
||||
// recycle the match string replacing the emoji
|
||||
// with its image counter part
|
||||
ret = '<img '.concat(
|
||||
|
|
@ -565,4 +565,4 @@ var twemoji = (function (
|
|||
return r.join(sep || '-');
|
||||
}
|
||||
|
||||
}());
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue