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.
2 parents a0e927d + b394d2c commit 96ca878Copy full SHA for 96ca878
js/rpg_core/Graphics.js
@@ -339,10 +339,12 @@ Graphics.printLoadingError = function(url) {
339
button.style.fontSize = '24px';
340
button.style.color = '#ffffff';
341
button.style.backgroundColor = '#000000';
342
- button.onmousedown = button.ontouchstart = function(event) {
343
- ResourceHandler.retry();
+ button.addEventListener('touchstart', function(event) {
344
event.stopPropagation();
345
- };
+ });
+ button.addEventListener('click', function(event) {
346
+ ResourceHandler.retry();
347
348
this._errorPrinter.appendChild(button);
349
this._loadingCount = -Infinity;
350
}
0 commit comments