Proposed solution to isue 159 toggleSection in Firefox #160
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function toggleSection(event){
|
||||||
|
|
||||||
var dataSet = event.target.dataset;
|
var dataSet = event.target.dataset;
|
||||||
var status = dataSet.open;
|
var status = dataSet.open;
|
||||||
var masterElement = document.getElementById(event.srcElement.id);
|
var masterElement = document.getElementById(event.target.id||event.srcElement.id);
|
||||||
var slaveElement = document.getElementById(dataSet.slaveelementid);
|
var slaveElement = document.getElementById(dataSet.slaveelementid);
|
||||||
|
|
||||||
if (status === "false") {
|
if (status === "false") {
|
||||||
|
|
Loading…
Reference in a new issue