Fix error in javascript "playlist xml" -> html routine which messed up display of...
[vlc.git] / share / http-lua / js / functions.js
index fc2e122..d9e5e5b 100644 (file)
@@ -643,6 +643,7 @@ function parse_playlist()
                     {
                         elt = elt.parentNode;
                         if( ! elt.parentNode ) break;
+                        pos = pos.parentNode;
                     }
                     if( ! elt.parentNode ) break;
                     elt = elt.parentNode.nextSibling;