lib/grope/frame_load_delegate.rb in grope-0.0.4 vs lib/grope/frame_load_delegate.rb in grope-0.1.1

- old
+ new

@@ -14,10 +14,12 @@ def webView_willPerformClientRedirectToURL_delay_fireDate_forFrame(webview, url, delay, date, frame) self.should_keep_running = true end def webView_didFinishLoadForFrame(webview, frame) - terminate + if frame == webview.mainFrame + terminate + end end def terminate self.should_keep_running = false end