mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:32:30 +02:00
Fix lingering reference to util.computedStyle.
This commit is contained in:
1 parent
94249780e9
commit
c7e3fa1711
1 file changed
+1
-1
@@ -243,7 +243,7 @@ var CommandWidgets = Class("CommandWidgets", {
|
||||
// Might possibly be better to use a deck and programmatically
|
||||
// choose which element to select.
|
||||
function check(node) {
|
||||
if (util.computedStyle(node).display === "-moz-stack") {
|
||||
if (DOM(node).style.display === "-moz-stack") {
|
||||
let nodes = Array.filter(node.children, function (n) !n.collapsed && n.boxObject.height);
|
||||
nodes.forEach(function (node, i) node.style.opacity = (i == nodes.length - 1) ? "" : "0");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user