mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
not referencing parent scope when inside BEGIN in widgets tpl
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
define('admin/extend/widgets', function() {
|
||||
var Widgets = {};
|
||||
|
||||
|
||||
Widgets.init = function() {
|
||||
$('#widgets .nav-pills a').on('click', function(ev) {
|
||||
var $this = $(this);
|
||||
|
||||
Reference in New Issue
Block a user