diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-07-28 10:08:21 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-08-03 10:50:55 +0200 |
| commit | 847afa1b697a5c326e95232ad1490e982ff4f0ff (patch) | |
| tree | d88faa5d3044d36510e632c1f96ebbb8b51833df /addons/web/static/src/xml | |
| parent | d977541b382ab0621191c31676081b70fdf3ee3e (diff) | |
[REF] web, *: create jQuery ':hasVisibility' and ':hasOpacity' selectors
* web_editor, web_tour
jQuery has the built-in ':visible' selector. This is however not enough
as this only checks if the element and its parents have a visible
'display' property. Ironically, if the element has the 'visibility'
property set to 'hidden', it will be considered ':visible' by jQuery.
This commit creates the ':hasVisibility' and ':hasOpacity' selectors
which respectively check if the element and its parents have a visible
'visibility' property and a visible 'opacity' property.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
