Skip to content

Commit

Permalink
Fix base html sample for Async Dialog tutorial (#1230)
Browse files Browse the repository at this point in the history
Fix typo 'local' -> 'locale' in order to get JS working.
  • Loading branch information
ArtemKoval authored and benjamingr committed Sep 4, 2016
1 parent 48097d7 commit feaaa21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/async-dialogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ our own DOM based prompt. To begin, here is a template for a simple HTML page:
clockTick();
setInterval(clockTick, 1000);
function clockTick() {
time.innerHTML = new Date().toLocalTimeString();
time.innerHTML = new Date().toLocaleTimeString();
}
});
</script>
Expand Down

0 comments on commit feaaa21

Please sign in to comment.