Skip to content

Commit

Permalink
UTCT-24: Remove JS favicon and viewport overrides. Maddening.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gilligan <[email protected]>
  • Loading branch information
UTCGilligan committed Dec 19, 2023
1 parent be53aec commit d133769
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions user/plugins/sleeky-backend/assets/js/theme.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Sleeky Admin Theme
// 2019 Flynn Tesoriero

console.log("Sleeky Admin Theme Running");
console.log("Admin Theme Running");

$( document ).ready(function() {
// Get the theme URL
Expand All @@ -24,10 +24,10 @@ $( document ).ready(function() {
console.log("Theme is", theme)

// Update favicon
$('link[rel="shortcut icon"]').attr('href', url + "/assets/img/favicon.ico");
// $('link[rel="shortcut icon"]').attr('href', url + "/assets/img/favicon.ico");

// Update meta viewport
$('head').append('<meta name="viewport" content="width=device-width, initial-scale=1.0">');
// $('head').append('<meta name="viewport" content="width=device-width, initial-scale=1.0">');

// Detect pages
if ($("body").hasClass("login")) {
Expand Down

0 comments on commit d133769

Please sign in to comment.