Skip to content

Commit

Permalink
increase idle and delete old code
Browse files Browse the repository at this point in the history
  • Loading branch information
dxenes1 committed Aug 9, 2022
1 parent b1e2edd commit 8d11dc4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions neuvue_project/templates/workspace.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,20 +458,11 @@ <h5 class="modal-title" style="color: black;">Continue proofreading?</h5>
absoluteTimeEllapsedCallbacks: [],
browserTabInactiveCallbacks: [() => $('#timeoutModal').modal('show')],
browserTabActiveCallbacks: [],
idleTimeoutMs: 5000,
idleTimeoutMs: 6e5,
checkCallbacksIntervalMs: 250
})
browserTimer.startTimer();

// Zero the idle timer on mouse movement or keypress.
$(this).mousemove(function (e) {
idleTime = 0;
});
$(this).keypress(function (e) {
idleTime = 0;
});


// forced choice button selection logic
var current_button_selection = 'noneSelected'

Expand Down

0 comments on commit 8d11dc4

Please sign in to comment.