Procházet zdrojové kódy

Merge pull request #622 from Oldiesmann/release-2.1

JS error if an available update is marked critical (fixes #619)
Michael Eshom před 11 roky
rodič
revize
854364ffc2
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      Themes/default/scripts/admin.js

+ 0 - 1
Themes/default/scripts/admin.js

@@ -98,7 +98,6 @@ smf_AdminIndex.prototype.checkUpdateAvailable = function ()
 	// If we decide to override life into "red" mode, do it.
 	if ('smfUpdateCritical' in window)
 	{
-		document.getElementById('update_table').style.backgroundColor = '#aa2222';
 		document.getElementById('update_title').style.backgroundColor = '#dd2222';
 		document.getElementById('update_title').style.color = 'white';
 		document.getElementById('update_message').style.backgroundColor = '#eebbbb';