Skip to content

Commit

Permalink
Merge pull request sozi-projects#66 from tobiasbrunner/getelementsbyc…
Browse files Browse the repository at this point in the history
…lassname

Fixed usage of getElementsByClassName.
  • Loading branch information
Guillaume Savaton committed Sep 5, 2011
2 parents a713320 + b19f7d2 commit 184582c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/framelist.js
Expand Up @@ -179,7 +179,7 @@ var sozi = sozi || {};
}

function onFrameChange(index) {
var current = linksBox.getElementsByClassName("sozi-toc-current"),
var current = document.getElementsByClassName("sozi-toc-current"),
textElements = linksBox.getElementsByTagName("text"),
i;
for (i = 0; i < current.length; i += 1) {
Expand Down

0 comments on commit 184582c

Please sign in to comment.