More govuk cleanup

This commit is contained in:
alexjanousekGSA
2025-08-07 16:49:14 -04:00
parent a695412699
commit c6529ad453
22 changed files with 209 additions and 188 deletions

View File

@@ -11,8 +11,9 @@
window.NotifyModules['enhanced-textbox'] = function() {
this.start = function(textarea) {
this.start = function(element) {
let textarea = $(element);
let visibleTextbox;
this.highlightPlaceholders = (
@@ -20,7 +21,7 @@
!!textarea.data('highlightPlaceholders')
);
this.$textbox = $(textarea)
this.$textbox = textarea
.wrap(`
<div class='textbox-highlight-wrapper' />
`)