Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1159137 - Cherry pick bug 1159137, use textContent for pickerUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored and rvandermeulen committed May 27, 2015
1 parent 366f220 commit f174661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/system/js/value_selector/value_picker.js
Expand Up @@ -123,10 +123,10 @@ var ValuePicker = (function() {
};

VP.prototype.addPickerUnit = function(index) {
var html = this._valueDisplayedText[index];
var content = this._valueDisplayedText[index];
var unit = document.createElement('div');
unit.className = this._unitClassName;
unit.innerHTML = html;
unit.textContent = content;
this.element.appendChild(unit);
};

Expand Down

0 comments on commit f174661

Please sign in to comment.