derekovecs: do not issue warnings to user
diff --git a/js/derekovcs.js b/js/derekovcs.js
index 31f238b..0f1b7a0 100644
--- a/js/derekovcs.js
+++ b/js/derekovcs.js
@@ -98,6 +98,7 @@
}
function makeClassicCollocatorTable(id, baseURL, wordIndex) {
+ $.fn.dataTable.ext.errMode = 'throw';
var classicCollocatorTable = $('#classicoloctable').DataTable({
ajax: {
method: "GET",
@@ -110,6 +111,8 @@
+ "N=" + ccResult.N.toLocaleString("en-GB"));
return result.collocates;
},
+ warning: function (request, error) {
+ },
timeout: 30000,
data: { w: wordIndex }
},