Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit ba6ef5a

Browse files
author
Triangle717
committed
Fixed incorrect button selector for Browse dialog
1 parent c36dbcd commit ba6ef5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ define(function (require, exports, module) {
455455
}
456456
editor.focus();
457457
});
458-
dlg.getElement().find('.dialog-button[data-button-id="ok"]').on("click", dlg.close.bind(dlg));
458+
dlg.getElement().find('.dialog-button[data-button-id="cancel"]').on("click", dlg.close.bind(dlg));
459459

460460
webfont.renderPicker($('.edge-web-fonts-browse-dialog.instance'));
461461

0 commit comments

Comments
 (0)