From 86634415da178536103592aa48b93243f70d710a Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 16 Jun 2014 11:59:30 +0700 Subject: [PATCH] Fix widget drafts position --- public/src/forum/admin/themes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.js index a86cc8a87c..dc797d09e1 100644 --- a/public/src/forum/admin/themes.js +++ b/public/src/forum/admin/themes.js @@ -161,7 +161,7 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) { }; Themes.prepareWidgets = function() { - $('[data-location="drafts"]').insertAfter($('[data-location="drafts"]').parents('.tab-content')); + $('[data-location="drafts"]').insertAfter($('[data-location="drafts"]').closest('.tab-content')); $('#widgets .available-widgets .panel').draggable({ helper: function(e) {