kopia lustrzana https://github.com/inkstitch/inkstitch
fix close button when connection to ink/stitch is lost
rodzic
c59f94818f
commit
bb6b05bc00
|
@ -237,7 +237,7 @@ $(function() {
|
||||||
|
|
||||||
$('button.close').click(function() {
|
$('button.close').click(function() {
|
||||||
$.post('/shutdown', {})
|
$.post('/shutdown', {})
|
||||||
.done(function(data) {
|
.always(function(data) {
|
||||||
window.close();
|
window.close();
|
||||||
|
|
||||||
/* Chrome and Firefox both have a rule: scripts can only close windows
|
/* Chrome and Firefox both have a rule: scripts can only close windows
|
||||||
|
|
Ładowanie…
Reference in New Issue