Update GoogleTranslateOption.plugin.js
This commit is contained in:
parent
aa53b5f06b
commit
aa0926b852
|
@ -382,7 +382,7 @@ class GoogleTranslateOption {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
${BDFDB.dotCN.selectmenuouter} .inChat {
|
${BDFDB.dotCN.selectmenuouter}.inChat {
|
||||||
top: 0%;
|
top: 0%;
|
||||||
transform: translateY(-100%);
|
transform: translateY(-100%);
|
||||||
border-radius: 4px 4px 0 0;
|
border-radius: 4px 4px 0 0;
|
||||||
|
@ -835,7 +835,7 @@ class GoogleTranslateOption {
|
||||||
|
|
||||||
var type = selectWrap.getAttribute("type");
|
var type = selectWrap.getAttribute("type");
|
||||||
var selectMenu = this.createDropdownMenu(selectWrap.getAttribute("value"), type);
|
var selectMenu = this.createDropdownMenu(selectWrap.getAttribute("value"), type);
|
||||||
selectMenu.classList.add("selector");
|
selectMenu.classList.add(selector);
|
||||||
selectWrap.appendChild(selectMenu);
|
selectWrap.appendChild(selectMenu);
|
||||||
|
|
||||||
selectMenu.querySelectorAll(BDFDB.dotCN.selectoption).forEach(option => {option.addEventListener("mousedown", e2 => {
|
selectMenu.querySelectorAll(BDFDB.dotCN.selectoption).forEach(option => {option.addEventListener("mousedown", e2 => {
|
||||||
|
|
Loading…
Reference in New Issue