summaryrefslogtreecommitdiff
path: root/js/textbook_companion.js
diff options
context:
space:
mode:
authorprashantsinalkar2016-04-07 16:18:04 +0530
committerprashantsinalkar2016-04-07 16:18:04 +0530
commitf45d48b9da8764141edbf5dc10d0b17f01870ed3 (patch)
tree2607d2f958e60380327f655d85e517c90226e469 /js/textbook_companion.js
parent64b7656aa8140441e07a96218085fe3b55595681 (diff)
downloadscilab_textbook_companion-f45d48b9da8764141edbf5dc10d0b17f01870ed3.tar.gz
scilab_textbook_companion-f45d48b9da8764141edbf5dc10d0b17f01870ed3.tar.bz2
scilab_textbook_companion-f45d48b9da8764141edbf5dc10d0b17f01870ed3.zip
added category in book proposal and edited mail function
Diffstat (limited to 'js/textbook_companion.js')
-rwxr-xr-xjs/textbook_companion.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/textbook_companion.js b/js/textbook_companion.js
index bbbb851..10bb3d2 100755
--- a/js/textbook_companion.js
+++ b/js/textbook_companion.js
@@ -1,6 +1,7 @@
-$( document ).ready(function() {
+(function ($) {
//to search
- $('#searchtext').keyup(function(event) {
+$(document).ready(function(){
+$('#searchtext').keyup(function(event) {
var search_text = $('#searchtext').val();
var rg = new RegExp(search_text,'i');
$('#aicte-list-wrapper .title , .form-item' ).each(function(){
@@ -206,5 +207,5 @@ $report_form.submit(function(e) {
}
e.preventDefault();
});
-
});
+})(jQuery);