fix: pdf viewer template strings (#24913)
This commit is contained in:
parent
47d451ae52
commit
7ded768743
3 changed files with 23 additions and 1 deletions
|
@ -209,7 +209,7 @@ void CommonWebContentsDelegate::InitWithWebContents(
|
|||
web_contents, std::make_unique<ElectronPDFWebContentsHelperClient>());
|
||||
#endif
|
||||
|
||||
// Determien whether the WebContents is offscreen.
|
||||
// Determine whether the WebContents is offscreen.
|
||||
auto* web_preferences = WebContentsPreferences::From(web_contents);
|
||||
offscreen_ =
|
||||
web_preferences && web_preferences->IsEnabled(options::kOffscreen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue