lib/culerity/remote_browser_proxy.rb in culerity-0.2.6 vs lib/culerity/remote_browser_proxy.rb in culerity-0.2.7

- old
+ new

@@ -47,10 +47,10 @@ def confirm(bool, &block) blk = "lambda { #{bool} }" self.send_remote(:add_listener, :confirm) { blk } block.call - self.send_remote(:remove_listener, :confirm) { blk } + self.send_remote(:remove_listener, :confirm, lambda {blk}) end end