summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/resources/inkstitch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js
index 4a757d5f..e9ee3e0f 100644
--- a/print/resources/inkstitch.js
+++ b/print/resources/inkstitch.js
@@ -237,7 +237,7 @@ $(function() {
$('button.close').click(function() {
$.post('/shutdown', {})
- .done(function(data) {
+ .always(function(data) {
window.close();
/* Chrome and Firefox both have a rule: scripts can only close windows