Merge pull request #5339 from loopback0/master

Allow text selection on /unread
This commit is contained in:
Barış Soner Uşaklı
2017-01-03 22:49:01 +02:00
committed by GitHub

View File

@@ -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;
});
});