mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 03:30:50 +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() {
|
button.addEventListener('click', function() {
|
||||||
// Equivalent to button.getAttribute("data-href")
|
// Equivalent to button.getAttribute("data-href")
|
||||||
const href = this.dataset.href;
|
const href = this.dataset.href;
|
||||||
console.log(`in loop: ${href}`)
|
|
||||||
if (href) {
|
if (href) {
|
||||||
window.location.href = href;
|
window.location.href = href;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ def extract_a_text(value):
|
||||||
text_only = re.sub(text_pattern, "", content)
|
text_only = re.sub(text_pattern, "", content)
|
||||||
# Clean up any extra whitespace
|
# Clean up any extra whitespace
|
||||||
return text_only.strip()
|
return text_only.strip()
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue