Permalink
Browse files

_docElement is always false

I looked for documentation on _docElement, but there is none.
I guess it was meant doc.documentElement to get to the HTML root element, but otherwise going from body directly to the first DIV seems reasonable enough.
  • Loading branch information...
1 parent a998e44 commit c9a6a1c6bcb667b7c489495eab614f5b50f6eb60 @jgabios jgabios committed Oct 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/soundmanager2.js
View
2 script/soundmanager2.js
@@ -3395,7 +3395,7 @@ function SoundManager(smURL, smID) {
getDocument = function() {
- return (doc.body || doc._docElement || doc.getElementsByTagName('div')[0]);
+ return (doc.body || doc.getElementsByTagName('div')[0]);
};

1 comment on commit c9a6a1c

@scottschiller

This has been merged and is now on SM2 master - thanks!
V2.97a.20130512...V2.97a.20131201

Please sign in to comment.