mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: isFullScreen typo (#27863)
* 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: Tony <TonyWuu@users.noreply.github.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