From f877113cc58795797c49833026f4787f07ff4529 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 12 Sep 2024 11:01:03 -0400 Subject: [PATCH] Modal Dialog example: Correct JSDoc warning (pull #3083) --- 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) {