Skip to content

Commit d224da0

Browse files
committed
included negative scores in confirmation checks
1 parent b297ddb commit d224da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function repo_init(){
6767
core_repo_init({
6868
'beforeunload': {
6969
'todo': function(event){
70-
if(score > 0){
70+
if(score !== 0){
7171
core_escape(true);
7272
event.preventDefault();
7373
}

0 commit comments

Comments
 (0)