Monitors List : copy stream url completely
parent
a3b23e7633
commit
069c91d3cc
|
@ -72,7 +72,10 @@ function base64ArrayBuffer(arrayBuffer) {
|
|||
return base64
|
||||
}
|
||||
function getLocationPathName(){
|
||||
return location.pathname.endsWith('/') ? location.pathname : location.pathname
|
||||
return location.pathname.endsWith('/') ? location.pathname : location.pathname + '/'
|
||||
}
|
||||
function getFullOrigin(){
|
||||
return location.origin + getLocationPathName()
|
||||
}
|
||||
function debugLog(...args){
|
||||
console.log(...args)
|
||||
|
|
|
@ -214,7 +214,7 @@ $(document).ready(function(){
|
|||
.on('click','.copy-stream-url',function(e){
|
||||
e.preventDefault()
|
||||
var el = $(this)
|
||||
var href = el.attr('href')
|
||||
var href = getFullOrigin() + el.attr('href')
|
||||
copyToClipboard(href)
|
||||
new PNotify({
|
||||
title: lang['Copied'],
|
||||
|
|
Loading…
Reference in New Issue