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 20c8119 + 76d73b1 commit fd9310dCopy full SHA for fd9310d
js/rpg_core/Graphics.js
@@ -287,7 +287,10 @@ Graphics.printLoadingError = function(url) {
287
button.style.fontSize = '24px';
288
button.style.color = '#ffffff';
289
button.style.backgroundColor = '#000000';
290
- button.onclick = ResourceHandler.retry.bind(ResourceHandler);
+ button.onmousedown = button.ontouchstart = function(event) {
291
+ ResourceHandler.retry();
292
+ event.stopPropagation();
293
+ };
294
this._errorPrinter.appendChild(button);
295
this._loadingCount = -Infinity;
296
}
0 commit comments