Commit d3ebaae5 authored by Luke Bennett's avatar Luke Bennett

use js- prefix

parent 410a54c5
...@@ -47,12 +47,12 @@ export default class Milestone { ...@@ -47,12 +47,12 @@ export default class Milestone {
} }
static initDeprecationMessage() { static initDeprecationMessage() {
const deprecationMesssageContainer = document.querySelector('.milestone-deprecation-message'); const deprecationMesssageContainer = document.querySelector('.js-milestone-deprecation-message');
if (!deprecationMesssageContainer) return; if (!deprecationMesssageContainer) return;
const deprecationMessage = deprecationMesssageContainer.querySelector('.milestone-deprecation-message-template').innerHTML; const deprecationMessage = deprecationMesssageContainer.querySelector('.js-milestone-deprecation-message-template').innerHTML;
const $popover = $('.popover-link', deprecationMesssageContainer); const $popover = $('.js-popover-link', deprecationMesssageContainer);
const hideOnScroll = togglePopover.bind($popover, false); const hideOnScroll = togglePopover.bind($popover, false);
$popover.popover({ $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