Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct DOM positions for village, store, perks box
I noticed a minor glitch with the Village box position in the DOM. As it is appended to the Outside panel, it can end up after the Wood gather button or after the Traps check. It depends on whether the latter exists or not. I changed it a little. Now it is "prepended" (thanks jQuery!), so it's always before any other content in the panel. It would mind e.g. for CSS consistency, as you could decide to use a style for sibling buttons and it wouldn't work unless the box is placed before or after (not between) them. For consistency with Outside box placement issue, stores are prepended to the Room panel, as first content in the DOM tree. For consistency with Outside box placement issue, perks are prepended to the Path panel, as first content in the DOM tree.
- Loading branch information