Merge pull request #5250 from donno2048/patch-3

Remove redundant `return`-s
This commit is contained in:
Devansh 2021-10-19 12:15:11 +05:30 committed by GitHub
commit 9737e6b9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

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