ctrlcctrlv / infinity

A vichan fork permitting users to create their own boards
Other
318 stars 149 forks source link

Fix tab freeze when inlining #507

Closed hypevhs closed 9 years ago

hypevhs commented 9 years ago

Fixes ctrlcctrlv/infinity#451

Example, I get 381ms with the original query, but just 2ms with this. jQuery's .is() function says the original and faster queries are equivalent. I'm not sure why splitting up the query into multiple function calls like this works, but it does.

hypevhs commented 9 years ago

@ctrlcctrlv, do you think you can regenerate the minified copy of main.js so this fix can be seen? In that file on 8ch main server, I'm looking at a "compiled on" timestamp of 30 May 2015, which would be before this PR.

ctrlcctrlv commented 9 years ago

Oops, sorry! I forgot I pulled in a JS change and didn't rebuild JavaScript. It's fixed now.

https://8ch.net/main.js

  • Compiled on Thu 11 Jun 2015 03:07:17 AM GMT