mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 753651 - Unselectable class is useless; r=past
This commit is contained in:
parent
d4e5550ce1
commit
c8099fcfd3
@ -850,8 +850,7 @@ PropertiesView.prototype = {
|
|||||||
let value = document.createElement("span");
|
let value = document.createElement("span");
|
||||||
let title = element.getElementsByClassName("title")[0];
|
let title = element.getElementsByClassName("title")[0];
|
||||||
|
|
||||||
// Separator shouldn't be selectable.
|
// Separator between the variable name and its value.
|
||||||
separator.className = "unselectable";
|
|
||||||
separator.textContent = ": ";
|
separator.textContent = ": ";
|
||||||
|
|
||||||
// The variable information (type, class and/or value).
|
// The variable information (type, class and/or value).
|
||||||
@ -1075,8 +1074,7 @@ PropertiesView.prototype = {
|
|||||||
value.textContent = propertyString;
|
value.textContent = propertyString;
|
||||||
value.classList.add(propertyColor);
|
value.classList.add(propertyColor);
|
||||||
|
|
||||||
// Separator shouldn't be selected.
|
// Separator between the variable name and its value.
|
||||||
separator.className = "unselectable";
|
|
||||||
separator.textContent = ": ";
|
separator.textContent = ": ";
|
||||||
|
|
||||||
if ("undefined" !== typeof pKey) {
|
if ("undefined" !== typeof pKey) {
|
||||||
@ -1332,7 +1330,7 @@ PropertiesView.prototype = {
|
|||||||
arrow.style.visibility = "hidden";
|
arrow.style.visibility = "hidden";
|
||||||
|
|
||||||
// The name element.
|
// The name element.
|
||||||
name.className = "name unselectable";
|
name.className = "name";
|
||||||
name.textContent = aName || "";
|
name.textContent = aName || "";
|
||||||
|
|
||||||
// The title element, containing the arrow and the name.
|
// The title element, containing the arrow and the name.
|
||||||
|
@ -134,12 +134,3 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Display helpers
|
|
||||||
*/
|
|
||||||
|
|
||||||
.unselectable {
|
|
||||||
-moz-user-select: -moz-none;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user