mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Fix this
handling in Chat/Template.js
This commit is contained in:
parent
d084315276
commit
eba9d9d34a
@ -4,7 +4,7 @@
|
|||||||
* Use of this software is governed by the Business Source License
|
* Use of this software is governed by the Business Source License
|
||||||
* included in the LICENSE file.
|
* included in the LICENSE file.
|
||||||
*
|
*
|
||||||
* Change Date: 2025-02-04
|
* Change Date: 2025-02-05
|
||||||
*
|
*
|
||||||
* On the date above, in accordance with the Business Source
|
* On the date above, in accordance with the Business Source
|
||||||
* License, use of this software will be governed by version 2
|
* License, use of this software will be governed by version 2
|
||||||
@ -31,7 +31,7 @@ define(['WoltLabSuite/Core/Template'], function (_Template) {
|
|||||||
const templates = Object.assign({}, this.templates, variables.t || {})
|
const templates = Object.assign({}, this.templates, variables.t || {})
|
||||||
variables.t = templates
|
variables.t = templates
|
||||||
|
|
||||||
return oldFetch(variables)
|
return oldFetch.call(this, variables);
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user