Merge pull request #5250 from donno2048/patch-3
Remove redundant `return`-s
This commit is contained in:
commit
9737e6b9ea
|
|
@ -275,16 +275,12 @@
|
|||
|
||||
renderDropdown: function () {
|
||||
return '<div class="uv-dropdown-list uv-bottom-left" style="display: block;"><ul></ul></div>';
|
||||
return '<ul class="rte-autocomplete dropdown-menu"><li class="loading"></li></ul>';
|
||||
},
|
||||
|
||||
render: function (item) {
|
||||
return `
|
||||
<li><a href="javascript:;"><span>${item[this.options.queryBy]}</span></a></li>
|
||||
`;
|
||||
return '<li>' +
|
||||
'<a href="javascript:;"><span>' + item[this.options.queryBy] + '</span></a>' +
|
||||
'</li>';
|
||||
},
|
||||
|
||||
autoCompleteClick: function (e) {
|
||||
|
|
@ -411,4 +407,4 @@
|
|||
|
||||
tinymce.PluginManager.add('mention', tinymce.plugins.Mention);
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue