add missing semicolons to pad/main.js

jshint compliance
pull/1/head
ansuz 9 years ago
parent 5cead3fad3
commit 3b8238ef3b

@ -156,7 +156,7 @@ define([
var createChangeName = function(id, $container) { var createChangeName = function(id, $container) {
var buttonElmt = $container.find('#'+id)[0]; var buttonElmt = $container.find('#'+id)[0];
buttonElmt.addEventListener("click", function() { buttonElmt.addEventListener("click", function() {
var newName = prompt("Change your name :", myUserName) var newName = window.prompt("Change your name :", myUserName);
if (newName && newName.trim()) { if (newName && newName.trim()) {
var myUserNameTemp = newName.trim(); var myUserNameTemp = newName.trim();
if(newName.trim().length > 32) { if(newName.trim().length > 32) {

Loading…
Cancel
Save