Browse Source

Fixes svg use with popup #3043

pull/3277/head
Jack 9 years ago
parent
commit
8ddd2ee7de
2 changed files with 2 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/modules/popup.js

1
RELEASE-NOTES.md

@ -29,6 +29,7 @@
- **Grid** - Fixes attached segment 1px offset inside grid column #3226
- **Grid** - Fixes some inconsistencies with `widescreen only` class #3161 **Thanks @mdehoog**
- **Popup** - Fixes positioning issue when `movePopup: false` #3213 **Thanks @parisholley**
- **Popup** - Popup now works with `svg` elements #3043
- **Progress* - Calling `reset` will now reset `value` to 0, so increment starts again at 0
- **Search** - Fixes `onSearchQuery` not firing when results are cached **Thanks @mnquintana**
- **Search** - Fixes `url` parameter not working correctly due to typo in source **Thanks @fabienb4**

2
src/definitions/modules/popup.js

@ -697,7 +697,7 @@ $.fn.popup = function(parameters) {
popup = calculations.popup;
parent = calculations.parent;
if(target.width === 0 && target.height === 0) {
if(target.width === 0 && target.height === 0 && !(target.element instanceof SVGGraphicsElement)) {
module.debug('Popup target is hidden, no action taken');
return false;
}

Loading…
Cancel
Save