From c3059bc4885ce4257203ea9aea747f8c89169627 Mon Sep 17 00:00:00 2001 From: alvaro-rm Date: Wed, 17 Jul 2013 12:11:18 +0200 Subject: [PATCH] From .attr(selected,true) to .prop(selected,true) to follow Jquery guidelines --- tinynav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinynav.js b/tinynav.js index f52e2df..3918ff2 100644 --- a/tinynav.js +++ b/tinynav.js @@ -52,7 +52,7 @@ $select .find(':eq(' + $(l_namespace_i + ' li') .index($(l_namespace_i + ' li.' + settings.active)) + ')') - .attr('selected', true); + .prop('selected', true); } // Change window location