#18: With BS4, no longer need to hide the dropdown manually - this gets the single photo admin actions working again

This commit is contained in:
Andy Heathershaw 2017-09-03 08:03:00 +01:00
parent 20d6264777
commit dda12a47e4

View File

@ -456,9 +456,6 @@ function EditPhotosViewModel(album_id, language, urls) {
// Save the photo ID // Save the photo ID
this.photoIDs = []; this.photoIDs = [];
this.photoIDs.push(photo_id); this.photoIDs.push(photo_id);
// Hide the dropdown
$(link_item).dropdown('toggle');
}, },
switchToUploadTab: function (e) { switchToUploadTab: function (e) {
$('.nav-tabs a[href="#upload-tab"]').tab('show'); $('.nav-tabs a[href="#upload-tab"]').tab('show');