Skip to content

Commit

Permalink
Modal Dialog example: Correct JSDoc warning (pull #3083)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Sep 12, 2024
1 parent fdbb7fc commit f877113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/patterns/dialog-modal/examples/js/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ aria.Utils = aria.Utils || {};
aria.OpenDialogList = aria.OpenDialogList || new Array(0);

/**
* @returns {object} the last opened dialog (the current dialog)
* @returns {object|void} the last opened dialog (the current dialog)
*/
aria.getCurrentDialog = function () {
if (aria.OpenDialogList && aria.OpenDialogList.length) {
Expand Down

0 comments on commit f877113

Please sign in to comment.