3 ms·
As another addendum, making it readable also helps in contributing to open source libraries. There was a webcomic that I was reading that had JS to have the le
by MereInterest 6y ago
As another addendum, making it readable also helps in contributing to open source libraries. There was a webcomic that I was reading that had JS to have the left/right arrow keys go to the chronologically previous and next comic. This worked, but had a bug where it disabled the alt-left/alt-right shortcuts to go to the previous/next in the browser history. Since the source was easily visible, I could find the JS library used and submit a pull request to keep the usual behavior of alt-left/alt-right.