1
0
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:
Tim Düsterhus 2021-02-05 12:18:59 +01:00
parent d084315276
commit eba9d9d34a
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF

View File

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