Skip to content

Commit

Permalink
v1.2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
GemGeorge committed Jun 25, 2021
1 parent 9937851 commit e5c413a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spear/js/common_scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ $(function() {
checkSniperPhishProcess();
$('[data-toggle="tooltip"]').tooltip({
trigger : 'hover'
})
});
$('[data-toggle="tooltip"]').on('click mouseleave', function () {console.log(9)
$('[data-toggle="tooltip"]').tooltip('hide');
});
});
function displayLoader(dis_val,type="normal"){
if(type == "small")
Expand Down
1 change: 1 addition & 0 deletions spear/js/mail_template.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ function addAttachmentLabel(file_id,file_name, file_disp_name, inline){
}

function removeAttachment(e){
$('[data-toggle="tooltip"]').tooltip("hide");
$(e).closest('.row').remove();
triggerAttachmentChanges();
}
Expand Down

0 comments on commit e5c413a

Please sign in to comment.