Skip to content
Snippets Groups Projects
Commit 91c8757e authored by jurgenhaas's avatar jurgenhaas
Browse files

Update selectors for latest GitLab version

parent 2fee9753
No related branches found
Tags v1.1
No related merge requests found
......@@ -18,9 +18,9 @@
new TogglButtonGM('.issue-details', function (elem) {
var description, projectIds = [],
id = elem.querySelector('.page-title .issue-id'),
titleElem = elem.querySelector('.issue-box .title, .issue-title'),
projectElem = document.querySelector('.title');
id = elem.querySelector('.detail-page-header .identifier'),
titleElem = elem.querySelector('.issue-details h2.title'),
projectElem = elem.querySelector('h1.title span');
description = titleElem.textContent.trim();
if (id !== null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment