Skip to content

Node.js based forum software built for the modern web

console.log

psychobunnyf4ad1bdeae18
diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.js
index eedbc58fa4..90b74f7ee0 100644
--- a/public/src/forum/admin/themes.js
+++ b/public/src/forum/admin/themes.js
@@ -159,7 +159,7 @@ define(['forum/admin/settings'], function(Settings) {
$(this).parents('.panel').children('.panel-body').toggleClass('hidden');
}).on('click', '.delete-widget', function() {
var panel = $(this).parents('.panel');
-
+
bootbox.confirm('Are you sure you wish to delete this widget?', function(confirm) {
if (confirm) {
panel.remove();
@@ -230,7 +230,6 @@ define(['forum/admin/settings'], function(Settings) {
var area = areas[a],
widgetArea = $('#widgets .area [data-template="' + area.template + '"][data-location="' + area.location + '"]').parents('.area').find('.widget-area');
- console.log('data', area.data);
for (var i in area.data) {
if (area.data.hasOwnProperty(i)) {
var data = area.data[i],