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() {
|
||||
$.post('/shutdown', {})
|
||||
.done(function(data) {
|
||||
.always(function(data) {
|
||||
window.close();
|
||||
|
||||
/* Chrome and Firefox both have a rule: scripts can only close windows
|
||||
|
|
Ładowanie…
Reference in New Issue