mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
lint
This commit is contained in:
parent
3bfb75fa3b
commit
eb02869df8
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ export function initButtonLinks() {
|
|||
button.addEventListener('click', function() {
|
||||
// Equivalent to button.getAttribute("data-href")
|
||||
const href = this.dataset.href;
|
||||
console.log(`in loop: ${href}`)
|
||||
if (href) {
|
||||
window.location.href = href;
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ def extract_a_text(value):
|
|||
text_only = re.sub(text_pattern, "", content)
|
||||
# Clean up any extra whitespace
|
||||
return text_only.strip()
|
||||
|
||||
|
||||
return ""
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue