summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-x[-rw-r--r--]js/jquery-1.7.1.js0
-rwxr-xr-x[-rw-r--r--]js/tbc-download.js0
-rwxr-xr-xjs/textbook_companion.js7
3 files changed, 4 insertions, 3 deletions
diff --git a/js/jquery-1.7.1.js b/js/jquery-1.7.1.js
index 16ad06c..16ad06c 100644..100755
--- a/js/jquery-1.7.1.js
+++ b/js/jquery-1.7.1.js
diff --git a/js/tbc-download.js b/js/tbc-download.js
index 04b7633..04b7633 100644..100755
--- a/js/tbc-download.js
+++ b/js/tbc-download.js
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);