Skip to content

Commit

Permalink
Update topdesk-highlight-summary.user.js
Browse files Browse the repository at this point in the history
Changed what the script matches on
  • Loading branch information
magnborn authored and GitHub Enterprise committed Oct 24, 2024
1 parent 66dd1c3 commit 47986f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topdesk-highlight-summary.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name TOPdesk - Highlight Summary
// @namespace http://tampermonkey.net/
// @version 1.3
// @version 1.4
// @description Highlight the summary section in a box with rounded corners and white background
// @author Magnus Børnes (magnborn@ntnu.no)
// @match https://hjelp.ntnu.no/*
Expand All @@ -17,7 +17,7 @@
// Function to highlight the summary
function highlightSummary() {
// Find the first div element with an ID ending in "_Y7"
const div = document.querySelector('div[id$="_Y7"]');
const div = document.querySelector('div[guielement$="crt-content-label"]');

if (div) {
// Get the inner HTML of the div
Expand Down

0 comments on commit 47986f3

Please sign in to comment.