mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Removing the twisty function. This happens automatically now.
This commit is contained in:
parent
066dc78d74
commit
31418bca1a
@ -55,21 +55,3 @@ function showPage(event) {
|
||||
|
||||
deck.setAttribute("value", i-1);
|
||||
}
|
||||
|
||||
|
||||
// I copied this from commandglue.js. bad!
|
||||
// -alecf
|
||||
function ToggleTwisty(treeItem)
|
||||
{
|
||||
|
||||
var openState = treeItem.getAttribute('open');
|
||||
if(openState == 'true')
|
||||
{
|
||||
treeItem.removeAttribute('open');
|
||||
}
|
||||
else
|
||||
{
|
||||
treeItem.setAttribute('open', 'true');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user