fixing videos not being unloaded when closed
This commit is contained in:
parent
16fef709f6
commit
d231297a5d
|
@ -30,7 +30,7 @@ function src(mode, offset) {
|
||||||
`)
|
`)
|
||||||
var add = ''
|
var add = ''
|
||||||
} else {
|
} else {
|
||||||
var add = '&type=accounts&offset=' + $('#src-accts .cvo').length
|
var add = '&type=accounts&offset=' + $('#src-accts .cusr').length
|
||||||
}
|
}
|
||||||
|
|
||||||
var q = $('#src').val()
|
var q = $('#src').val()
|
||||||
|
@ -91,6 +91,11 @@ function src(mode, offset) {
|
||||||
#${escapeHTML(tag)}
|
#${escapeHTML(tag)}
|
||||||
</a>
|
</a>
|
||||||
<br> `
|
<br> `
|
||||||
|
} else if (!tag.history) {
|
||||||
|
tags+=`<a onclick="tl('tag','${tag.name}','${acct_id}','add')" class="pointer">
|
||||||
|
#${escapeHTML(tag.name)}
|
||||||
|
</a>
|
||||||
|
<br> `
|
||||||
} else {
|
} else {
|
||||||
tags = tags + graphDraw(tag, acct_id)
|
tags = tags + graphDraw(tag, acct_id)
|
||||||
}
|
}
|
||||||
|
|
|
@ -339,7 +339,10 @@ function openFinder(dir) {
|
||||||
postMessage(['openFinder', dir], '*')
|
postMessage(['openFinder', dir], '*')
|
||||||
}
|
}
|
||||||
function stopVideo() {
|
function stopVideo() {
|
||||||
document.getElementById('video').pause()
|
video=document.getElementById('video')
|
||||||
|
video.pause()
|
||||||
|
video.src=''
|
||||||
|
//document.getElementById('video').pause()
|
||||||
}
|
}
|
||||||
function copyImgUrl() {
|
function copyImgUrl() {
|
||||||
var murl = $('#imagemodal').attr('data-original')
|
var murl = $('#imagemodal').attr('data-original')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user