Fixed a little problem with getting the correct stylesheet

This commit is contained in:
mostafah%oeone.com 2003-09-25 23:10:28 +00:00
parent 22288ef335
commit d03933865a

View File

@ -156,7 +156,7 @@ function calendarInit()
// find calendar's style sheet index
for (var i=0; i<document.styleSheets.length; i++)
{
if (document.styleSheets[i].href == "chrome://calendar/skin/calendar.css")
if (document.styleSheets[i].href.indexOf( "/calendar.css" ) != -1 )
{
gCalendarStyleSheet = document.styleSheets[i];
break;