Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2a81ffc authored by Akhil's avatar Akhil 🙂
Browse files

Dev/fix botdetection

parent 54ecab0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -144,7 +144,7 @@ $(document).ready(function(){
  });
  });


  if ($("#main_results").has(".first-page-media-results").length) {
  if ($("#main_results").has(".first-page-media-results").length) {
    var headers = {"Content-Type": "application/json"};
    var headers = {"Content-Type": "application/json","X-e-async":"true"};
    var query_params = $.param({
    var query_params = $.param({
      "format": "json",
      "format": "json",
      "q": $("#q").attr("value"),
      "q": $("#q").attr("value"),
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+1 −1

File changed.

Contains only whitespace changes.