Skip to content

Commit

Permalink
Revert select.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rsandell committed Oct 25, 2023
1 parent 0fb78e4 commit cabf86d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/lib/credentials/select/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ window.credentials.init = function () {
visible: false,
keylisteners: [
new YAHOO.util.KeyListener(document, {keys:27}, {
fn:(function() {window.credentials.dialog.style.display = "none";}),
fn:(function() {window.credentials.dialog.hide();}),
scope:document,
correctScope:false
})
Expand All @@ -62,7 +62,7 @@ window.credentials.add = function (e) {
window.credentials.dialog.cfg.setProperty("width", r.width * 3 / 4 + "px");
window.credentials.dialog.cfg.setProperty("height", r.height * 3 / 4 + "px");
window.credentials.dialog.center();
window.credentials.dialog.style.display = "";
window.credentials.dialog.show();
});
}
});
Expand Down Expand Up @@ -141,7 +141,7 @@ window.credentials.addSubmit = function (_) {
console.error("Could not add credentials:", e);
})
.finally(() => {
window.credentials.dialog.style.display = "none";
window.credentials.dialog.hide();
});
}
};
Expand Down

0 comments on commit cabf86d

Please sign in to comment.