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