Browse Source
* Fix link to next incomplete section * Update status of log on log page * Remove TasklistController as no longer required * Add missing quotes around HTML attribute * Add additional spec for tasklist page * Capybara does not enjoy setting focus Co-authored-by: Paul Robert Lloyd <me+git@paulrobertlloyd.com>pull/414/head
baarkerlounger
3 years ago
committed by
GitHub
5 changed files with 23 additions and 36 deletions
@ -1,8 +0,0 @@ |
|||||||
import { Controller } from "@hotwired/stimulus" |
|
||||||
|
|
||||||
export default class extends Controller { |
|
||||||
addHighlight() { |
|
||||||
let section_to_highlight = this.element.dataset.info; |
|
||||||
document.getElementById(section_to_highlight).classList.add('tasklist_item_highlight'); |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue