Skip to content

Commit

Permalink
use textContent
Browse files Browse the repository at this point in the history
  • Loading branch information
swdyh committed Jul 31, 2013
1 parent 10d3fcb commit 2e09121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ self.on('message', function(res) {
}
else if (res.name == 'siteinfo_meta') {
if (res.len) {
document.getElementById('siteinfo_size').innerHTML = res.len
document.getElementById('siteinfo_size').textContent = res.len
}
if (res.updated_at) {
var d = new Date(res.updated_at)
document.getElementById('siteinfo_updated_at').innerHTML = d
document.getElementById('siteinfo_updated_at').textContent = d
}
}
else if (res.name == 'update_siteinfo') {
Expand Down

0 comments on commit 2e09121

Please sign in to comment.