mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-23 00:40:23 +01:00
properly fixes #2782
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user