Merge pull request #5339 from loopback0/master

Allow text selection on /unread
v1.18.x
Barış Soner Uşaklı 8 years ago committed by GitHub
commit e225f318bb

@ -10,9 +10,9 @@ define('topicSelect', ['components'], function (components) {
TopicSelect.init = function (onSelect) {
topicsContainer = $('[component="category"]');
topicsContainer.on('selectstart', function () {
return false;
});
topicsContainer.on('selectstart', '[component="topic/select"]', function (ev) {
ev.preventDefault();
});
topicsContainer.on('click', '[component="topic/select"]', function (ev) {
var select = $(this);
@ -82,4 +82,4 @@ define('topicSelect', ['components'], function (components) {
}
return TopicSelect;
});
});

Loading…
Cancel
Save