Some more IE compatibility tricks

This commit is contained in:
DL6ER
2017-01-13 15:39:28 +01:00
parent a7261bd157
commit d597b52f49
3 changed files with 26 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
var exact = "";
function eventsource() {
var ta = $("#output");
var domain = $("#domain");
@@ -8,6 +9,13 @@ function eventsource() {
return;
}
// IE does not support EventSource - exit early
if (typeof EventSource !== "function") {
ta.show();
ta.html("Querying ad lists is not supported with this browser!");
return;
}
var quiet = false;
if(q.val() === "yes")
{
@@ -69,4 +77,4 @@ $("#btnSearch").on("click", function() {
$("#btnSearchExact").on("click", function() {
exact = "exact";
eventsource();
});
});