fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops sorry; commited local mysqldb setup
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
search.js
diff --git
a/wolnelektury/static/js/search.js
b/wolnelektury/static/js/search.js
index
c41a672
..
5951b8b
100644
(file)
--- a/
wolnelektury/static/js/search.js
+++ b/
wolnelektury/static/js/search.js
@@
-42,8
+42,12
@@
var __bind = function (self, fn) {
});
$(function() {
});
$(function() {
- $("#search-area input[name=q]").search();
-
+ $("#search").search().labelify({labelledClass: "blur"});
+
+ $(".search-result .see-more-snippets").click(function() {
+ $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden');
+ });
});
});
+
})(jQuery);
})(jQuery);