|
|
|
@@ -3967,7 +3967,7 @@ function initVueDataset() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
copyUrl(url) { |
|
|
|
const cInput = document.createElement('input') |
|
|
|
const cInput = document.createElementNS('input') |
|
|
|
cInput.value = url |
|
|
|
document.body.appendChild(cInput) |
|
|
|
cInput.select() |
|
|
|
@@ -4915,7 +4915,7 @@ window.onOAuthLoginClick = function () { |
|
|
|
// Pull SVGs via AJAX to workaround CORS issues with <use> tags |
|
|
|
// https://css-tricks.com/ajaxing-svg-sprite/ |
|
|
|
$.get(`${window.config.StaticUrlPrefix}/img/svg/icons.svg`, (data) => { |
|
|
|
const div = document.createElement('div'); |
|
|
|
const div = document.createElementNS('div'); |
|
|
|
div.style.display = 'none'; |
|
|
|
div.innerHTML = new XMLSerializer().serializeToString(data.documentElement); |
|
|
|
document.body.insertBefore(div, document.body.childNodes[0]); |
|
|
|
|