From af0012569cebf72cc53c26f14fa20746f7bd130e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 31 Jul 2024 15:27:40 -0400 Subject: [PATCH] Correct JSDoc warning in Dialog Modal example --- content/patterns/dialog-modal/examples/js/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/patterns/dialog-modal/examples/js/dialog.js b/content/patterns/dialog-modal/examples/js/dialog.js index 1fa43809c6..5788e6500e 100644 --- a/content/patterns/dialog-modal/examples/js/dialog.js +++ b/content/patterns/dialog-modal/examples/js/dialog.js @@ -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) {