Skip to content

Commit

Permalink
bugfix adding new instance, fixes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
bashgeek committed Sep 7, 2023
1 parent bea403a commit c878da1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions inc/jquery-3.7.0.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion inc/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function instance_save_return(e)
}

let instance_id = $('#instance-id').val();
if (instance_id !== -1) {
if (instance_id !== "-1") {
// Save
instances[instance_id] = {
'active': instances[instance_id].active,
Expand Down

0 comments on commit c878da1

Please sign in to comment.