Skip to content

Commit

Permalink
Update custom-dialog.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam7-1 authored Apr 19, 2024
1 parent 69bfafc commit 029f282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom-dialogs-demo/custom-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ CustomDialog.show = function (title, message, options) {
backdropDiv.style.display = 'block';
dialogDiv.style.display = 'block';

dialogDiv.innerHTML =
dialogDiv.textContent =
'<header class="customDialogTitle"></header>' +
'<p class="customDialogMessage"></p>' +
(options.showInput ? '<div><input id="customDialogInput"></div>' : '') +
Expand Down

0 comments on commit 029f282

Please sign in to comment.