jahu00 / Rikaikyun

Rikaichan based Phonegap app for reading Japanese text
5 stars 2 forks source link

Stopping events on back button #28

Closed jahu00 closed 8 years ago

jahu00 commented 9 years ago

In the backbutton handling code I have stop method used for events to prevent multiple screens registering the press. It seems to work fine in PC Chrome, but it doesn't appear to be supported in Android Browser. I either have to replace it with PreventDefault \ StopPropagation or there needs to be a detection for this stop method.

Currently it seems to work even without the method, but throwing exceptions to prevent things from happening isn't probably the best idea.

jahu00 commented 8 years ago

Seems to be fixed as part of #33.