vendor/assets/javascripts/magnific-popup/jquery.magnific-popup.js in magnific-popup-rails-0.9.9 vs vendor/assets/javascripts/magnific-popup/jquery.magnific-popup.js in magnific-popup-rails-0.9.9.1
- old
+ new
@@ -143,12 +143,10 @@
* Opens popup
* @param data [description]
*/
open: function(data) {
- if(!_body) {
- _body = $(document.body);
- }
+ _body = $(document.body);
var i;
if(data.isObj === false) {
// convert jQuery collection to array to avoid conflicts later
\ No newline at end of file