* Remove useless code.
This commit is contained in:
@@ -10,15 +10,6 @@ $(document).on('mouseleave', '.detail-side .tab-pane ul li', function(e)
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$(document).on('click', '.unlinkStory', function(e)
|
||||
{
|
||||
const $this = $(e.target).closest('li').find('.unlinkStory');
|
||||
zui.Modal.confirm({message: unlinkStoryTip, icon:'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'}).then((res) =>
|
||||
{
|
||||
if(res) $.get($this.attr('url'), function(){$this.closest('li').remove()});
|
||||
});
|
||||
});
|
||||
|
||||
window.ajaxDelete = function(storyID)
|
||||
{
|
||||
zui.Modal.confirm({message: confirmDeleteTip, icon:'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'}).then((res) =>
|
||||
|
||||
Reference in New Issue
Block a user