app/assets/javascripts/pageflow/before_after/widget.js in pageflow-before-after-1.1.0 vs app/assets/javascripts/pageflow/before_after/widget.js in pageflow-before-after-1.2.0
- old
+ new
@@ -32,10 +32,10 @@
var obj = $(this.element);
var beforeImg = $('.before_image', obj);
var afterImg = $('.after_image', obj);
- var section = $(obj).parentsUntil(".backgroundArea").last();
+ var section = $(obj).parentsUntil(".page_background").last();
var imgWidth;
var imgHeight;
var refresh = function() {