You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The displayArticleInForm is used, even in ServiceWorker mode, when an article is opened programmatically (welcome page, after a search, random etc).
But it would be simpler (and more consistent) to simply set the src of the iframe in these cases, and let the ServiceWorker do the job (as it already does when the user clicks on a link inside an article).
It also seems to significantly improve performance on complex pages (see #381)
The text was updated successfully, but these errors were encountered:
Instead of calling displayArticleInForm like in jQuery mode.
I also removed some tests on jQuery/ServiceWorker modes in displayArticleInForm, as this function is now only used in jQuery mode.
And I renamed it to displayArticleContentInIframe
Fixes#382
The displayArticleInForm is used, even in ServiceWorker mode, when an article is opened programmatically (welcome page, after a search, random etc).
But it would be simpler (and more consistent) to simply set the src of the iframe in these cases, and let the ServiceWorker do the job (as it already does when the user clicks on a link inside an article).
It also seems to significantly improve performance on complex pages (see #381)
The text was updated successfully, but these errors were encountered: