diff --git a/scp/js/scp.js b/scp/js/scp.js index ec2f74fece560c4fde392c857745ccd1cfe265b3..36819fa6676bcfa6b754ad7858ca5dad186c8fbc 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -634,6 +634,9 @@ getConfig = (function() { $(document).on('pjax:click', function(options) { if (window.ticket_refresh !== undefined) clearInterval(window.ticket_refresh); + // Release ticket lock (maybe) + if ($.autoLock !== undefined) + $.autoLock.releaseLock(); // Stop all animations $(document).stop(false, true); // Cancel save-changes warning banner