mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13713] Fix variable definitions as requested by @hanakin
PHPBB3-13713
This commit is contained in:
parent
783449d626
commit
b5ce3343ed
1 changed files with 6 additions and 3 deletions
|
@ -397,7 +397,8 @@ function getCaretPosition(txtarea) {
|
|||
}
|
||||
|
||||
function getMatchedNames(query, items, searchKey) {
|
||||
let i, len;
|
||||
let i;
|
||||
let len;
|
||||
let _results = [];
|
||||
for (i = 0, len = items.length; i < len; i++) {
|
||||
let item = items[i];
|
||||
|
@ -468,7 +469,8 @@ function getCaretPosition(txtarea) {
|
|||
});
|
||||
},
|
||||
sorter: function(query, items, searchKey) {
|
||||
let i, len;
|
||||
let i;
|
||||
let len;
|
||||
let highestPriority = 0;
|
||||
let _unsorted = {u: {}, g: {}};
|
||||
let _exactMatch = [];
|
||||
|
@ -543,7 +545,8 @@ function getCaretPosition(txtarea) {
|
|||
phpbb.mentions = new Mentions();
|
||||
|
||||
$(document).ready(function() {
|
||||
let doc, textarea;
|
||||
let doc;
|
||||
let textarea;
|
||||
|
||||
// find textarea, make sure browser supports necessary functions
|
||||
if (document.forms[form_name]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue