flaghunters/Extra-Flags-for-int- — pull request #10 by loadletter (2014-12-15 13:50:44+00:00)
Title: Cleanup script

Don't pull yet, I need to test it more, in the meantime I will keep it updated if changes are made to the original script.

- Replace some verbose stuff *
- Cleanup identation and split stuff into some functions
- Remove jquery since it's only used in 2 places
- Some more errorcheking **
- Replace hardcoded /int/ with code to get the current board
- Experimental support for thread updating on iniline extension

```
(*) Line 144
//copy postNrs to avoid concurrent modifications
I doubt this is needed since javascript runs in an event loop

(**) Line 228
//can't trigger here unfortunately
//this triggers faster than the post can load.
//OnDOMchange doesnt seem to be the answer either.
If this is still an issue I can try copypasting the code that runs a function only when the document is ready
```