proper look for disabled "-" icon on new item
This commit is contained in:
parent
cc93621678
commit
4f48210682
|
@ -691,12 +691,12 @@
|
||||||
// Minus (-) button
|
// Minus (-) button
|
||||||
var removeButton = document.createElement('label');
|
var removeButton = document.createElement('label');
|
||||||
removeButton.setAttribute("value","-");
|
removeButton.setAttribute("value","-");
|
||||||
|
removeButton.setAttribute("class","zotero-clicky");
|
||||||
// If default first row, don't let user remove it
|
// If default first row, don't let user remove it
|
||||||
if (defaultRow) {
|
if (defaultRow) {
|
||||||
this.disableButton(removeButton);
|
this.disableButton(removeButton);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
removeButton.setAttribute("class","zotero-clicky");
|
|
||||||
removeButton.setAttribute("onclick",
|
removeButton.setAttribute("onclick",
|
||||||
"document.getBindingParent(this).removeCreator("
|
"document.getBindingParent(this).removeCreator("
|
||||||
+ this._creatorCount
|
+ this._creatorCount
|
||||||
|
|
|
@ -172,7 +172,7 @@ zoteromergepane {
|
||||||
border: 0px !important;
|
border: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zotero-clicky[value="+"][disabled=true] {
|
.zotero-clicky[value="+"][disabled=true], .zotero-clicky[value="-"][disabled=true] {
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user