Skip to content

Commit 76d73b1

Browse files
committed
unify mouse and touch
1 parent 5e7f487 commit 76d73b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/rpg_core/Graphics.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,7 @@ Graphics.printLoadingError = function(url) {
287287
button.style.fontSize = '24px';
288288
button.style.color = '#ffffff';
289289
button.style.backgroundColor = '#000000';
290-
button.onclick = ResourceHandler.retry.bind(ResourceHandler);
291-
button.ontouchstart = function(event) {
290+
button.onmousedown = button.ontouchstart = function(event) {
292291
ResourceHandler.retry();
293292
event.stopPropagation();
294293
};

0 commit comments

Comments
 (0)