arielsalminen / TinyNav.js

Responsive navigation plugin that weighs just 443 bytes
http://tinynav.viljamis.com/
635 stars 207 forks source link

blank menu items #80

Closed jsmcm closed 7 years ago

jsmcm commented 7 years ago

Hello,

I have the following code:

<ul id="nav"> <li><a href="./page1.html">Page One</li> <li><a href="./page2.html">Page Two</li> </ul>

This produces a menu with blank items, eg:

<select id="tinynav1" class="tinynav tinynav1"> <option value="./page1.html">Page One</option> <option value="./page1.html"></option> <option value="./page1.html"></option> <option value="./page2.html">Page Two</option> <option value="./page2.html"></option> </select>

jsmcm commented 7 years ago

There was a bug in my code and I was just staring at it too long... as can be seen in my sample above I never closed the anchor tags...