diff --git a/package.json b/package.json index 928d034..aa4d26e 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "callme", - "version": "1.0.5", + "version": "1.0.6", "description": "Your Go-To for Instant Video Calls", "author": "Miroslav Pejic - miroslav.pejic.85@gmail.com", "license": "AGPLv3", diff --git a/public/client.js b/public/client.js index 9b5d2ee..f23b962 100755 --- a/public/client.js +++ b/public/client.js @@ -33,6 +33,14 @@ let stream; // Hide room page initially roomPage.style.display = 'none'; +document.addEventListener('DOMContentLoaded', function () { + // Initialize tooltips + const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-toggle="tooltip"]')); + const tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); +}); + // WebSocket event listeners socket.on('connect', handleSocketConnect); socket.on('message', handleMessage); diff --git a/public/index.html b/public/index.html index 8f424ef..fd0cc2c 100755 --- a/public/index.html +++ b/public/index.html @@ -152,16 +152,5 @@ - - - diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..21fed79 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +# Allow crawling of all content +User-agent: * +Disallow: \ No newline at end of file