mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
updating all templates.get to ajaxify.variables.get
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define, app, translator, templates, socket, bootbox */
|
||||
/* globals define, app, translator, ajaxify, socket, bootbox */
|
||||
|
||||
define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
|
||||
|
||||
@@ -8,7 +8,7 @@ define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
|
||||
|
||||
ThreadTools.init = function(tid, threadState) {
|
||||
|
||||
if (templates.get('expose_tools') === '1') {
|
||||
if (ajaxify.variables.get('expose_tools') === '1') {
|
||||
|
||||
$('.thread-tools').removeClass('hide');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user