Proposed solution to isue 159 toggleSection in Firefox
This commit is contained in:
parent
b440b1a3e1
commit
d8e7b9c40d
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