Skip to content

Instantly share code, notes, and snippets.

@amiskov
Created August 9, 2012 05:04

Revisions

  1. amiskov created this gist Aug 9, 2012.
    5 changes: 5 additions & 0 deletions menu.phtml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    var item = $('.form_search__result .selected a');
    if(item.size() == 0) return false;
    window.location.href = item.attr('href');
    return false;
    }