2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-21 19:11:18 +08:00

UX: detect DiscourseHub user agent in recently used devices

This commit is contained in:
Penar Musaraj 2019-04-16 13:50:47 -04:00
parent d2ea602bdd
commit cec0b580e6
2 changed files with 3 additions and 0 deletions

View file

@ -14,6 +14,8 @@ module BrowserDetection
:safari
when /MSIE/i, /Trident/i
:ie
when /DiscourseHub/i
:discoursehub
else
:unknown
end