mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: documentEdited property on BrowserWindow (#28159)
This commit is contained in:
@@ -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); }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user