Commit d3ebaae5 authored by Luke Bennett's avatar Luke Bennett

use js- prefix

parent 410a54c5
......@@ -47,12 +47,12 @@ export default class Milestone {
}
static initDeprecationMessage() {
const deprecationMesssageContainer = document.querySelector('.milestone-deprecation-message');
const deprecationMesssageContainer = document.querySelector('.js-milestone-deprecation-message');
if (!deprecationMesssageContainer) return;
const deprecationMessage = deprecationMesssageContainer.querySelector('.milestone-deprecation-message-template').innerHTML;
const $popover = $('.popover-link', deprecationMesssageContainer);
const deprecationMessage = deprecationMesssageContainer.querySelector('.js-milestone-deprecation-message-template').innerHTML;
const $popover = $('.js-popover-link', deprecationMesssageContainer);
const hideOnScroll = togglePopover.bind($popover, false);
$popover.popover({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment