diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2015-09-28 15:09:30 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2015-09-28 15:29:06 +0200 |
| commit | a4bc3c23aac9a73b5f726df570d672dce918dc82 (patch) | |
| tree | 5f73d002deb01c66abaa6c32cc6e56fe77fa0d7e /addons/web/static/src/js/framework/data.js | |
| parent | 9dcb05b1485c5b5c44ce4ebefd98f7daa4ac64bc (diff) | |
[FIX] website_slides: fullscreen and previous/next
This solves 2 issues:
1) When the slide is set to fullscreen, on Firefox, the image was
stretched and the aspect ratio not respected. This is the default
behavior of Firefox for a canvas. By choosing the parentNode instead (a
div tag which only contains the canvas), the aspect ratio is respected.
2) Arrow key up/down has now the same behavior than arrow key
left/right.
opw-650174
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
