소스 검색

JS error if an available update is marked critical (Fixes #617)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Michael Eshom 11 년 전
부모
커밋
21e9d0aae3
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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';