nikirsquare / jquery-wordsearch-game

Automatically exported from code.google.com/p/jquery-wordsearch-game
MIT License
0 stars 0 forks source link

li index in rf-wordcontainer is wrong #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
line 1307 should take the rf-wordcontainer in account:
 var w = $("li").get(idx);
should be:
var w = $("#rf-wordcontainer li").get(idx);

otherwise your index won´t be correct if there are any other li elements on 
the site...

Original issue reported on code.google.com by d...@campsafari.de on 3 Apr 2013 at 8:53

GoogleCodeExporter commented 8 years ago
I use an li based nav menu and I'm getting random links in it being crossed out 
and greyed when a word is selected. Will try the fix suggested above.

Original comment by esl...@gmail.com on 21 Jun 2014 at 3:56