diff --git a/index.html b/index.html index 11008ae..5db37de 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ //for cloud apps subAdmins: [], - application: "RUPEE_TOKEN_APP_TEST5",//rupeeTokenApp + application: "RUPEE_TOKEN_APP_TEST6",//rupeeTokenApp vectorClock: {}, appObjects: {}, generalData: {}, @@ -627,7 +627,7 @@ notify('error', 'There seems to be a problem connecting to the internet.', 'fixed', true) }) window.addEventListener('online', () => { - notify('', 'We are back online.', '', true) + notify('We are back online.','', '', true) }) // function required for popups or modals to appear class Stack { @@ -10110,6 +10110,15 @@ } } + // https://stackoverflow.com/a/21988185/5348972 + function orders_comparer(otherArray){ + return function(current){ + return otherArray.filter(function(other){ + return JSON.stringify(other.message) == JSON.stringify(current.message) + }).length == 0; + } + } +