Skip to content

Commit a9ae665

Browse files
committed
Fixed the bug that after inserting images, the .uploaded section is not reset.
1 parent 01308f9 commit a9ae665

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap-wysihtml5.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@
272272
});
273273

274274
imagesToBeInserted = [];
275+
insertImageModal.find('.uploaded').text('');
275276
});
276277

277278
insertImageModal.on('shown', function() {

0 commit comments

Comments
 (0)