From 68a6952b2cc50cc7ea490404a1b95be71d66788c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez=20Baquero?= Date: Fri, 13 May 2022 17:26:54 -0500 Subject: [PATCH] Update app.js --- app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index a72400b..d9c847e 100644 --- a/app.js +++ b/app.js @@ -36,7 +36,7 @@ const dbg = function (string, item, color) { const er = function (err, item) { dbg(err, item, '#FF0000') } -dbg(`Starting... v${VERSION}`) +dbg(`Starting v${VERSION}. WebTorrent ${WebTorrent.VERSION}`) const client = new WebTorrent({ tracker: trackerOpts @@ -66,13 +66,14 @@ const app = angular.module('BTorrent', app.controller('BTorrentCtrl', ['$scope', '$rootScope', '$http', '$log', '$location', 'ngNotify', function ($scope, $rootScope, $http, $log, $location, ngNotify) { let updateAll $rootScope.version = VERSION + $rootScope.webtorrentVersion = WebTorrent.VERSION ngNotify.config({ duration: 5000, html: true }) if (!WebTorrent.WEBRTC_SUPPORT) { $rootScope.disabled = true - ngNotify.set('Please use latest Chrome, Firefox or Opera', { + ngNotify.set('Please use a WebRTC compatible browser', { type: 'error', sticky: true, button: false