Browse Source

Set the currentBrowser if Internet Explorer is detected

The setting of currentBrowser in RTCBrowserType was
accidentally removed.
dev1
Leonard Kim 8 years ago
parent
commit
a0157e617b
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      modules/RTC/RTCBrowserType.js

+ 5
- 0
modules/RTC/RTCBrowserType.js View File

@@ -319,6 +319,11 @@ function detectIE() {
319 319
         version = parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);
320 320
     }
321 321
 
322
+    if (version) {
323
+        currentBrowser = RTCBrowserType.RTC_BROWSER_IEXPLORER;
324
+        logger.info(`This appears to be IExplorer, ver: ${version}`);
325
+    }
326
+
322 327
     return version;
323 328
 }
324 329
 

Loading…
Cancel
Save