From 965c0c302c4437b7fe65656a4a9914dc020e0b85 Mon Sep 17 00:00:00 2001 From: harry Date: Thu, 25 Apr 2019 15:33:09 +0100 Subject: [PATCH] shuffle the clients every 7 seconds --- app/themes/coop-tech-oowp-theme/public/js/app.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/themes/coop-tech-oowp-theme/public/js/app.js b/app/themes/coop-tech-oowp-theme/public/js/app.js index 3a2dd4d..8bcc320 100644 --- a/app/themes/coop-tech-oowp-theme/public/js/app.js +++ b/app/themes/coop-tech-oowp-theme/public/js/app.js @@ -51,6 +51,8 @@ app.createMapMultiMarker = function(mapId, lat, lng, zoom, markersArray) { }; //# sourceMappingURL=app.js.map - - -$('#client-list .column').shuffle(); \ No newline at end of file +$('#client-list .column').shuffle(); +window.setInterval(function(){ + /// call your function here + $('#client-list .column').shuffle(); +}, 7000);