]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fixed reveal closing randomly all .flex-videos from document 4226/head
authorMathieu Amiot <m.amiot@otak-arts.com>
Fri, 24 Jan 2014 01:08:28 +0000 (02:08 +0100)
committerMathieu Amiot <m.amiot@otak-arts.com>
Fri, 24 Jan 2014 01:08:28 +0000 (02:08 +0100)
commitb4bd0f47438205c25475849f4e58fb48d990ca3a
tree2d8250fb247d8c7547f19e4e121dff02ecfcab82
parent430beed1ee0e5ab99898291cebada83a9fbc1573
Fixed reveal closing randomly all .flex-videos from document

In the context of the function, this refers to document, so when you do $(document).find('.flex-video') and then set the iframe src to about:blank, all videos on the website are dying.

The huge problem is that this method is also called by alert-boxes, dropdowns and so on.
js/foundation/foundation.reveal.js