diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-09-13 17:15:30 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-15 14:33:07 +0200 |
| commit | c64f58358f82bb2611dad8b9d7e700860276a0ec (patch) | |
| tree | 7971c11b6a04875302718284a39a0d6d0f90fa09 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | cd244a40f3abd21de73d95a8a0e222fd5117f3e5 (diff) | |
[FIX] website: refactore parallax snippet (perf / browser compatibility)
* Do not read multiple DOM data on each scroll. Simply read this when
necessary (edition / initialization).
* Throttle scroll event and debounce resize events (-> performance in
edition and navigation improved).
* Do not save useless data in the DOM.
* Have the parallax state consistent if the page undergo other changes
* Simplify DOM structure and LESS
- Allow to better see how to place snippets inside the area
- Before this commit, default parallax had different height on
chrome and firefox
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
