more dynamic popups, compatibility fixes
[wolnelektury.git] / wolnelektury / static / js / search.js
index dc85dde..e96929e 100644 (file)
@@ -41,6 +41,9 @@ var __bind = function (self, fn) {
 
        });
 
+    $(function() {
+        $("#search").search();
+
        $(".search-result .see-more-snippets").click(function() {
            $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden');
            });