These are chat archives for codexa/firetext

1st
Jul 2015
Joshua Smith
@joshua-s
Jul 01 2015 13:30
Found an easier way to do event listeners
more performant
On init, we could walk the dom and add a listener to each element with a data-action attribute
The rest of the logic would be the same
Daniel Huigens
@twiss
Jul 01 2015 13:40
Yep, good idea, you could probably even avoid reading the attributes inside the event
Only downside is it takes longer to set up
Joshua Smith
@joshua-s
Jul 01 2015 13:45
Yeah
Daniel Huigens
@twiss
Jul 01 2015 14:03
#271 is cool :+1:, however if you click more than once you go back more than once, which can cause you to lose unsaved changes or end up with a blank screen
Joshua Smith
@joshua-s
Jul 01 2015 14:05
Hmm, any way to mitigate that?
Daniel Huigens
@twiss
Jul 01 2015 14:21
pointer-events: none and pointer-events: all on hidden and shown backgrounds resp?
Also if you double click on e.g. create than the dialog doesn't appear, but that's not really a bug I guess