MediaWiki:Gadget-TimeBug.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 76: Line 76:
             document
             document
             .addEventListener('load', function() {
             .addEventListener('load', function() {
                 var cache = getCacheEntry();
                 var cache = getCacheEntry();console.log('cache is', cache);


                 if(cache && confirm('You have cached wikitext. Do you want to restore?')) {
                 if(cache && confirm('You have cached wikitext. Do you want to restore?')) {