From 9c00fbfb3bf9a60d61a654b490cbeaa9a24e4e3c Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 16 Dec 2014 13:44:34 +0100 Subject: [PATCH] Firefox: implement toolbar button and popup --- platform/chromium/vapi-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index e4099a2..c35de73 100644 --- a/platform/chromium/vapi-client.js +++ b/platform/chromium/vapi-client.js @@ -87,7 +87,7 @@ var messagingConnector = function(response) { /******************************************************************************/ var uniqueId = function() { - return parseInt(Math.random() * 1e10, 10).toString(36); + return Math.random().toString(36).slice(2); }; /******************************************************************************/