Skip to content

Commit b181dae

Browse files
TonyWuutonyfwooJohn Kleinschmidt
authored
fix: isFullScreen typo (electron#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>
1 parent 1b87cd6 commit b181dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/browser/api/base-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Object.defineProperty(BaseWindow.prototype, 'kiosk', {
4343
});
4444

4545
Object.defineProperty(BaseWindow.prototype, 'documentEdited', {
46-
get: function () { return this.isFullscreen(); },
46+
get: function () { return this.isDocumentEdited(); },
4747
set: function (edited) { this.setDocumentEdited(edited); }
4848
});
4949

0 commit comments

Comments
 (0)