summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-05-03 05:13:27 +0200
committerDylan William Hardison <dylan@hardison.net>2017-05-03 05:13:27 +0200
commit8be2b9a50d3b7bc88b3b40654f95e5269378da8d (patch)
tree3189a9aadcf6e16b0826bb2c78899da177eaa83a /js
parent96ef286867ca2e8b81e5c4f0e3e1bc180e84539c (diff)
downloadbugzilla-8be2b9a50d3b7bc88b3b40654f95e5269378da8d.tar.gz
bugzilla-8be2b9a50d3b7bc88b3b40654f95e5269378da8d.tar.xz
Bug 1361464 - Restore previous comment fonts, conditionally select "Fira" for Windows clients
Diffstat (limited to 'js')
-rw-r--r--js/global.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/global.js b/js/global.js
index 651d10241..04bc3fedf 100644
--- a/js/global.js
+++ b/js/global.js
@@ -19,6 +19,7 @@
var BUGZILLA = $('head').data('bugzilla');
$(function () {
+ $('body').addClass("platform-" + navigator.platform);
$('.show_mini_login_form').on("click", function (event) {
return show_mini_login_form($(this).data('qs-suffix'));
});
@@ -190,4 +191,4 @@ $().ready(function() {
$(window).on('pageshow', function(event) {
$('.bz_autocomplete').attr('autocomplete', 'off');
});
-}); \ No newline at end of file
+});