Skip to content

Node.js based forum software built for the modern web

properly fixes #2782

psychobunny8c79e11daec6
diff --git a/public/src/admin/extend/widgets.js b/public/src/admin/extend/widgets.js
index bc7993ac6b..239d5bd809 100644
--- a/public/src/admin/extend/widgets.js
+++ b/public/src/admin/extend/widgets.js
@@ -42,7 +42,7 @@ define('admin/extend/widgets', function() {
distance: 10
})
.each(function() {
- $(this).attr('data-container-html', $(this).attr('data-container-html').replace(/\\\{([\s\S]*?)\\\}/, '{$1}'));
+ $(this).attr('data-container-html', $(this).attr('data-container-html').replace(/\\\{([\s\S]*?)\\\}/g, '{$1}'));
});
$('#widgets .widget-area').sortable({