mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-05 14:11:41 -04:00
More govuk cleanup
This commit is contained in:
@@ -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' />
|
||||
`)
|
||||
|
||||
Reference in New Issue
Block a user