Closed haustraliaer closed 10 years ago
Fixed overlays with: https://github.com/hivewallet/hive-js/commit/156ea45ddc4f27485dfad51b5a0678c512d78dd4
Firefox was returning: TypeError: event.original.srcElement is undefined
Not sure if the conditional was necessary for other features? It seemed like it blocked the modals from being closed by tapping the actual modal content box (which was a desired behaviour anyway).
Fixed inputs: https://github.com/hivewallet/hive-js/commit/1f5e0670593f2a3aa688213c3e8fab5b16f81ef3
Leaving open until @weilu confirms we don't need the conditionals: https://github.com/hivewallet/hive-js/commit/156ea45ddc4f27485dfad51b5a0678c512d78dd4
See comment on the referenced commit
@weilu sure but is there a way we can write it differently? Firefox breaks hard on getting the event.original.srcElement
.
we can check if event.original is undefined before we call srcElement on it
Ok I sorted it found out firefox was using originalTarget instead of srcElement...
Started a new branch to fix some obvious firefox bugs that I've found: https://github.com/hivewallet/hive-js/tree/hotfix/ff