diff --git a/ckanext/odsh/fanstatic/odsh_spatial_query.js b/ckanext/odsh/fanstatic/odsh_spatial_query.js
index 152bd6f4c004b31b5faccffda2f53a483af52c09..7c01944ccfa4fe0bdc742477644a7278e28875d5 100644
--- a/ckanext/odsh/fanstatic/odsh_spatial_query.js
+++ b/ckanext/odsh/fanstatic/odsh_spatial_query.js
@@ -178,15 +178,15 @@ this.ckan.module('odsh-spatial-query', function ($, _)
       {
         if (extentLayer)
         {
-          $('body').removeClass('dataset-map-expanded');
-          is_exanded = false;
-          resetMap();
-          // Eugh, hacky hack.
+          // $('body').removeClass('dataset-map-expanded');
+          // is_exanded = false;
+          // resetMap();
+          // // Eugh, hacky hack.
           setTimeout(function ()
           {
-            map.fitBounds(extentLayer.getBounds());
+            // map.fitBounds(extentLayer.getBounds());
             submitForm();
-          }, 200);
+          }, 0);
         }
       });
 
@@ -263,7 +263,7 @@ this.ckan.module('odsh-spatial-query', function ($, _)
         setTimeout(function ()
         {
           form.submit();
-        }, 800);
+        }, 0);
       }
     }
   }