mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 10:54:11 -04:00
Update links in JavaScript
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
this.makeButton = (text, opts) => {
|
||||
let $btn = $('<a href=""></a>')
|
||||
.html(text)
|
||||
.addClass('js-cancel')
|
||||
.addClass('govuk-link govuk-link--no-visited-state js-cancel')
|
||||
// isn't set if cancelSelector is undefined
|
||||
.data('target', opts.cancelSelector || undefined)
|
||||
.attr('tabindex', '0')
|
||||
|
||||
Reference in New Issue
Block a user