mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
Fixed a little problem with getting the correct stylesheet
This commit is contained in:
parent
22288ef335
commit
d03933865a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user