Browse Source

fix: isFullScreen typo (#27864)

* fix isFullScreen typo

* Update lib/browser/api/base-window.ts

Co-authored-by: John Kleinschmidt <[email protected]>

Co-authored-by: Tony Wu <[email protected]>
Co-authored-by: Tony <[email protected]>
Co-authored-by: John Kleinschmidt <[email protected]>
trop[bot] 4 years ago
parent
commit
d00e869560
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/api/base-window.ts

+ 1 - 1
lib/browser/api/base-window.ts

@@ -43,7 +43,7 @@ Object.defineProperty(BaseWindow.prototype, 'kiosk', {
 });
 
 Object.defineProperty(BaseWindow.prototype, 'documentEdited', {
-  get: function () { return this.isFullscreen(); },
+  get: function () { return this.isDocumentEdited(); },
   set: function (edited) { this.setDocumentEdited(edited); }
 });