]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
JS performance: speeding up initialization by consolidating event handlers for reply...
authorBrion Vibber <brion@pobox.com>
Fri, 11 Mar 2011 23:03:15 +0000 (15:03 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 11 Mar 2011 23:03:15 +0000 (15:03 -0800)
commit10e5cb482e8eefdc3dcbe5aa1983df336524c02d
treec3cfc6f40b737a6d8e2919ad5f8eeb043d50b390
parent4e2a0e2fd0e3717541ed76e59631a0f4814eb311
JS performance: speeding up initialization by consolidating event handlers for reply buttons

Saved about 60ms on my test system during page setup by using a single global 'live' click handler for reply links.
No longer need to seek out and attach event handlers on every notice, yay!
js/util.js