Update main.js

This commit is contained in:
tripathyr 2022-04-12 17:34:04 +05:30 committed by GitHub
parent b9dbe462ac
commit dcd47dea68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ $(document).ready(function() {
MyTransactions();
load_messages();
run_OrderMatcingAlgorithm();
load_fresh_table_data();
$('[data-toggle="popover"]').popover();
});
@ -218,6 +219,9 @@ function get_my_balance() {
});
}
// function to check if JSON data is array or not
function isArray(what) {
return Object.prototype.toString.call(what) === '[object Array]';