fix merge
This commit is contained in:
commit
db39fea577
@ -99,8 +99,10 @@ function formattimeutc(date) {
|
||||
}
|
||||
postMessage(['sendSinmpleIpc', 'custom-css-request'], '*')
|
||||
|
||||
function makeCID() {
|
||||
return uuid()
|
||||
incrementid=0
|
||||
function makeCID()
|
||||
{
|
||||
return incrementid++
|
||||
}
|
||||
|
||||
function rgbToHex(color) {
|
||||
|
@ -335,7 +335,17 @@ function cardCheck(tlid) {
|
||||
}
|
||||
}
|
||||
|
||||
function mov(id, tlid, type, rand, target) {
|
||||
function mov(id, tlid, type, rand, target)
|
||||
{
|
||||
mouseover=localStorage.getItem('mouseover')
|
||||
switch (mouseover)
|
||||
{
|
||||
case 'yes': if (type=='mv') $(target).removeClass('hide-actions'); break;
|
||||
case 'click': if (type=='cl') $(target).toggleClass('hide-actions'); break;
|
||||
case 'no': break;
|
||||
}
|
||||
}
|
||||
/*function mov(id, tlid, type, rand, target) {
|
||||
const dropdownTrigger = `dropdown_${rand}`
|
||||
let elm = document.querySelector(`#timeline_${tlid} #${dropdownTrigger}`)
|
||||
if(tlid == 'notf') {
|
||||
@ -383,7 +393,7 @@ function mov(id, tlid, type, rand, target) {
|
||||
//$(tlide + " [toot-id=" + id + "] .area-actions").toggleClass("hide")
|
||||
//$(tlide + " [toot-id=" + id + "] .area-side").toggleClass("hide")
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
function resetmv(type) {
|
||||
var mouseover = localStorage.getItem('mouseover')
|
||||
|
@ -994,7 +994,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type, onlyContent) {
|
||||
menuct++
|
||||
}
|
||||
//このトゥート内のアクションを完了させるために、適当にIDを振る
|
||||
var rand = uuid()
|
||||
var rand = makeCID()
|
||||
//プラグイン機構
|
||||
var pluginBOT = plugins.buttonOnToot
|
||||
var pluginHtml = ''
|
||||
|
Loading…
Reference in New Issue
Block a user