fix(dashboard): fix highlighted room for the Edge

This commit is contained in:
KostyaDanovsky 2017-09-20 18:53:03 +03:00
parent d2924ce9dc
commit 26de80961d

View file

@ -11,7 +11,9 @@ export class RoomSelectorComponent {
selectedRoom: null;
sortedRooms = [];
viewBox = '-20 -20 618.88 407.99';
isIE = !!(navigator.userAgent.match(/Trident/) || !!navigator.userAgent.match(/MSIE/));
isIE = !!(navigator.userAgent.match(/Trident/)
|| navigator.userAgent.match(/MSIE/)
|| navigator.userAgent.match(/Edge/));
isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') >= 0;
roomSvg = {
borders: [{