diff --git a/index.html b/index.html
index 4d5e933..b67b622 100644
--- a/index.html
+++ b/index.html
@@ -216,7 +216,17 @@
numberOfSpots: gData.length
})
$('#theNumberofSpots').html(theNumberofSpots)
+
+ if(window.location.hash) {
+ $('#tableFilter').val(window.location.hash.substring(1)).keyup()
+ $('.spotRow').first().click()
+ }
}
+
+ $(document).on('keyup', '#tableFilter', function() {
+ window.location.hash = $(this).val()
+ $('.spotRow').first().click()
+ })