Node.js based forum software built for the modern web
closes #1704
psychobunnybbd4201a3804
diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.jsindex dc797d09e1..89fba34c4b 100644--- a/public/src/forum/admin/themes.js+++ b/public/src/forum/admin/themes.js@@ -222,9 +222,9 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {$('#widgets .save').on('click', saveWidgets);function saveWidgets() {- var total = $('#widgets [data-template]').length;+ var total = $('#widgets [data-template][data-location]').length;- $('#widgets [data-template]').each(function(i, el) {+ $('#widgets [data-template][data-location]').each(function(i, el) {el = $(el);var template = el.attr('data-template'),