Rollback is probably one of the most deactivated features because of its lack of maturity (We're working on it though!). To those looking to deactivate this feature, here's how:
For v1.4.1
Add this to your main.js
file:
$_ready (() => {
$_('[data-ui="quick-menu"] [data-action="back"]').remove ();
});
Then, open your monogatari.js
file and around line 1288
you should find the following code, responsible for the left key listener:
// Left Arrow
case 37:
previous();
break;
Comment the previous
function and save the file:
// Left Arrow
case 37:
// previous();
break;
For < v2.1.0
In your main.js
file, inside the monogatari.init ()
function, add this code:
// This will remove the "Back" button from the quick menu
monogatari.component ('quick-menu').removeButton ('Back');
// This will disable the left key listener to roll back
monogatari.unregisterListener ('back');
For >= v2.1.0
In your options.js
file, set the AllowRollback
setting to false
.
'AllowRollback': false,