mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: isFullScreen typo (#27823)
* fix isFullScreen typo * Update lib/browser/api/base-window.ts Co-authored-by: John Kleinschmidt <jkleinsc@github.com> Co-authored-by: Tony Wu <tonywoo@fb.com> Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
@@ -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); }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user