fix: documentEdited property on BrowserWindow (#28159)

This commit is contained in:
Keeley Hammond
2021-03-14 17:27:36 -07:00
committed by GitHub
parent e744ac042a
commit 1f1ff0e51f

View File

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