Commit 75ce2325 authored by Peter Walter's avatar Peter Walter
Browse files

add surname initial to owner switch buttons

parent a53d4d45
......@@ -5,7 +5,7 @@
// @match https://*.ebi.ac.uk/*
// @include https://helpdesk.ebi.ac.uk/*
// @grant GM_xmlhttpRequest
// @version 2.5
// @version 2.6
// @updateURL https://gitlab.ebi.ac.uk/ebiwd/rthelper/raw/stable/rthelper.user.js
// @run-at document-end
// ==/UserScript==
......@@ -541,7 +541,7 @@ function init() {
if (owners[owner]) {
button = insertLink(
container,
owner.split(' ',1)[0], // shorten name
owner.split(' ',1)[0] + ' ' + owner.split(' ',1)[1][0], // shorten name
buildLink(
getModifyLink({'Owner':owners[owner],'ForceOwnerChange':1}),
refreshElement('#body')
......
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