We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d63da3 commit 7fd6934Copy full SHA for 7fd6934
html/js/main.js
@@ -73,7 +73,7 @@ document.addEventListener("keyup", function(evt){
73
function setup_debug_mode(){
74
$('footer').children(':first').append('<span id="debug"> [Debug: '+ (window.sessionStorage.getItem("debug")?"on":"off") +']</span>');
75
$('#debug').click(function(){
76
- if ( $(this).text().contains('off') ) {
+ if ( $(this).text().includes('off') ) {
77
window.sessionStorage.setItem("debug", "on");
78
$(this).html('[Debug: on]');
79
}else{
0 commit comments