about summary refs log tree commit diff
path: root/laravel/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/public/js')
-rw-r--r--laravel/public/js/toc-filter.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/laravel/public/js/toc-filter.js b/laravel/public/js/toc-filter.js
deleted file mode 100644
index 08afa2d..0000000
--- a/laravel/public/js/toc-filter.js
+++ /dev/null
@@ -1,18 +0,0 @@
-$(function(){
-	$("#toc-filter").bind("change paste keyup", toc_filter);
-});
-
-function toc_filter( event )
-{
-	var val = $(this).val().toLowerCase();
-	$("#toc li").each(function(){
-		if($(this).text().toLowerCase().indexOf(val) == -1)
-		{
-			$(this).hide();
-		}
-		else
-		{
-			$(this).show();
-		}
-	});
-}
\ No newline at end of file