Use browser_window_stop_available()

Looking at bw->loading_content was bad and wrong in the cases
of frames, and object fetches.
This commit is contained in:
Michael Drake 2014-11-21 12:53:55 +00:00
parent 6ea2fd3a7f
commit 47f6e29b4c

View File

@ -244,7 +244,7 @@ static inline bool compare_float( float a, float b )
}
if (action == @selector( stopLoading: )) {
return browser->loading_content != NULL;
return browser_window_stop_available( browser )
}
if (action == @selector( zoomOriginal: )) {