Skip to content

Commit

Permalink
chromakeying: remove focus on save and print button after click
Browse files Browse the repository at this point in the history
Change-Id: I4011c0481aad7b928d6db64f0e61346110b13f04
  • Loading branch information
andi34 committed Jan 11, 2020
1 parent e036202 commit cf39905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/chromakeying.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ function printImageHandler(ev) {
printImage(data.filename, () => {
setTimeout(function () {
$('#print_mesg').removeClass('modal--show');

window.location.reload();
$('#print-btn').blur();
}, 5000);
})
});
Expand All @@ -189,6 +188,7 @@ function saveImageHandler(ev) {
saveImage(() => {
setTimeout(function () {
$('#save_mesg').removeClass('modal--show');
$('#save-btn').blur();
}, 2000);
});
}, 1000);
Expand Down

0 comments on commit cf39905

Please sign in to comment.