diff --git a/toolkit/content/widgets/findbar.xml b/toolkit/content/widgets/findbar.xml
index 90348ec099f..782a392b855 100644
--- a/toolkit/content/widgets/findbar.xml
+++ b/toolkit/content/widgets/findbar.xml
@@ -249,7 +249,10 @@
xbl:inherits="accesskey=matchcaseaccesskey"/>
-
+
+
+
@@ -350,7 +353,7 @@
// These elements are accessed frequently and are therefore cached
this._findField = this.getElement("findbar-textbox");
this._findStatusIcon = this.getElement("find-status-icon");
- this._findStatusLabel = this.getElement("find-status");
+ this._findStatusDesc = this.getElement("find-status");
var prefsvc =
Components.classes["@mozilla.org/preferences-service;1"]
@@ -1174,19 +1177,19 @@
switch (res) {
case this.nsITypeAheadFind.FIND_WRAPPED:
this._findStatusIcon.setAttribute("status", "wrapped");
- this._findStatusLabel.value =
+ this._findStatusDesc.textContent =
aFindPrevious ? this._wrappedToBottomStr : this._wrappedToTopStr;
this._findField.removeAttribute("status");
break;
case this.nsITypeAheadFind.FIND_NOTFOUND:
this._findStatusIcon.setAttribute("status", "notfound");
- this._findStatusLabel.value = this._notFoundStr;
+ this._findStatusDesc.textContent = this._notFoundStr;
this._findField.setAttribute("status", "notfound");
break;
case this.nsITypeAheadFind.FIND_FOUND:
default:
this._findStatusIcon.removeAttribute("status");
- this._findStatusLabel.value = "";
+ this._findStatusDesc.textContent = "";
this._findField.removeAttribute("status");
break;
}