Skip to content

Commit

Permalink
Use .text instead of .html
Browse files Browse the repository at this point in the history
  • Loading branch information
pleasantone committed Apr 11, 2017
1 parent 6455993 commit 871f925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/map-timestamp.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ window.plugin.mapTimestamp.setup = function() {

window.plugin.mapTimestamp.update = function() {

var html = 'Time: ' + new Date();
var text = 'Time: ' + new Date();

$('#timestamp').html(html);
$('#timestamp').text(text);

setTimeout (window.plugin.mapTimestamp.update, 60*1000);
};
Expand Down

0 comments on commit 871f925

Please sign in to comment.