From 769472d08a4c37cc89eb6f504a9d49fd4f5aa036 Mon Sep 17 00:00:00 2001 From: frankknoll Date: Mon, 20 Mar 2023 08:37:12 +0100 Subject: [PATCH] removing logging --- docs/batchCodeTable.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/batchCodeTable.js b/docs/batchCodeTable.js index 395ce1c1ff1..dc6291d3a2c 100644 --- a/docs/batchCodeTable.js +++ b/docs/batchCodeTable.js @@ -28,9 +28,12 @@ class BatchCodeTableInitializer { #createEmptyBatchCodeTable() { return this.#batchCodeTableElement.DataTable( { + initComplete: function () { + $('.dataTables_filter').append(' (press return key)'); + }, language: { - searchPlaceholder: "Enter Batch Code (hit Enter)" + searchPlaceholder: "Enter Batch Code" }, search: { @@ -162,7 +165,6 @@ class BatchCodeTableInitializer { .on( 'search.dt', function () { - console.log('searching: ', thisClassInstance.#batchCodeTable.search().toUpperCase()); gtag( 'event', 'view_search_results',