mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 08:39:50 +03:00
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:
parent
6ea2fd3a7f
commit
47f6e29b4c
@ -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: )) {
|
||||
|
Loading…
Reference in New Issue
Block a user