Bug 593447 followup, set 'crop' property instead of attribute. r=gavin

This commit is contained in:
Dão Gottwald 2010-09-04 20:33:34 +02:00
Родитель 03eaa380a5
Коммит 931dbba2c2
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -886,7 +886,7 @@
<body> <body>
<![CDATA[ <![CDATA[
aTab.label = this.mStringBundle.getString("tabs.loading"); aTab.label = this.mStringBundle.getString("tabs.loading");
aTab.setAttribute("crop", "end"); aTab.crop = "end";
this._tabAttrModified(aTab); this._tabAttrModified(aTab);
]]> ]]>
</body> </body>
@ -931,7 +931,7 @@
return false; return false;
aTab.label = title; aTab.label = title;
aTab.setAttribute("crop", crop); aTab.crop = crop;
this._tabAttrModified(aTab); this._tabAttrModified(aTab);
return true; return true;
]]> ]]>