diff --git a/templates/files.html b/templates/files.html
index ae0cd42..7a11286 100644
--- a/templates/files.html
+++ b/templates/files.html
@@ -130,22 +130,6 @@ function ChangeSize(clicked_button,sz)
$('#size').val(sz)
}
-// function that finds all next elements of the selector we use - works better
-// than jauery nextAll as it stops when I use any grouping div to break up the
-// .figures
-$.fn.findNextAll = function( selector ){
- var that = this[ 0 ],
- selection = $( selector ).get();
- return this.pushStack(
- // if there are no elements in the original selection return everything
- !that && selection ||
- $.grep( selection, function( n ){
- return [4,12,20].indexOf( that.compareDocumentPosition( n ) ) > -1
- // if you are looking for previous elements it should be [2,10,18]
- })
- );
- }
-
// e == event (can see if shift/ctrl held down while left-clicking
// el == element the click is on
// this allows single-click to select, ctrl-click to (de)select 1 item, and