Skip to content

Commit

Permalink
Build 3.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mervick committed Nov 11, 2017
1 parent eb9a479 commit 0a452ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions dist/emojionearea.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*!
* EmojioneArea v3.2.5
* EmojioneArea v3.2.6
* https://github.com/mervick/emojionearea
* Copyright Andrey Izman and other contributors
* Released under the MIT license
* Date: 2017-11-10T05:28Z
* Date: 2017-11-11T03:58Z
*/
window = ( typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {} );
document = window.document || {};
Expand Down Expand Up @@ -1259,8 +1259,8 @@ document = window.document || {};
}

if (options.search) {
self.search.val('').trigger('keyup');
self.trigger('search.keypress');
self.search.val('');
self.trigger('search.keypress', true);
}
});

Expand All @@ -1270,10 +1270,9 @@ document = window.document || {};
self.search.addClass("focused");
})

.on("@search.keypress", function() {
.on("@search.keypress", function(hide) {
var filterBtns = picker.find(".emojionearea-filter");
var activeTone = (options.tones ? tones.find("i.active").data("skin") : 0);

var term = self.search.val().replace( / /g, "_" ).replace(/"/g, "\\\"");

if (term && term.length) {
Expand Down Expand Up @@ -1324,7 +1323,9 @@ document = window.document || {};
categories.filter('[data-tone="' + tones.find("i.active").data("skin") + '"]:not([name="recent"])').show();
$('.emojibtn', categories).show();
filterBtns.show();
lazyLoading.call(self);
if (!hide) {
lazyLoading.call(self);
}
}
})

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emojionearea",
"version": "3.2.5",
"version": "3.2.6",
"description": "WYSIWYG-like EmojiOne Converter / Picker Plugin for jQuery",
"main": "dist/emojionearea.js",
"scripts": {
Expand Down

0 comments on commit 0a452ab

Please sign in to comment.