Explorar o código

Fix Safari detection for showing timestamps

Danilo Bargen %!s(int64=6) %!d(string=hai) anos
pai
achega
dfdf175bb9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/app.ts

+ 1 - 1
src/app.ts

@@ -144,7 +144,7 @@ angular.module('3ema', [
     function($log: ng.ILogService, CONFIG: threema.Config, browserService: BrowserService) {
         // For Safari (when in DEBUG mode), monkey-patch $log to show timestamps.
 
-        if (!(CONFIG.DEBUG && browserService.getBrowser().isSafari)) {
+        if (!(CONFIG.DEBUG && browserService.getBrowser().isSafari(false))) {
             return;
         }