bug 350319 - Fix js strict warning in getStyleSheet. Patch by Stefan Sitter <ssitter@googlemail.com>, r=lilmatt

This commit is contained in:
mattwillis%gmail.com 2007-03-08 01:51:44 +00:00
Родитель 69c5017be2
Коммит 40eb684fdf
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -278,6 +278,8 @@ function getStyleSheet(aStyleSheetPath) {
return sheet; return sheet;
} }
} }
// Avoid the js strict "function does not always return a value" warning.
return null;
} }
// Updates the style rules for a particular object. If the object is a // Updates the style rules for a particular object. If the object is a