diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index faea99599..c2f3b3982 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -110,7 +110,7 @@ ModalDialog.prototype = { this._buttonLayout.destroy_children(); this._actionKeys = {}; - for (let i = 0; i < buttons.length; i ++) { + for (let i = 0; i < buttons.length; i++) { let buttonInfo = buttons[i]; let label = buttonInfo['label']; let action = buttonInfo['action']; diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index e9eb3ad96..695a12b76 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -900,7 +900,7 @@ ChatNotification.prototype = { } let groups = this._contentArea.get_children(); - for (let i = 0; i < groups.length; i ++) { + for (let i = 0; i < groups.length; i++) { let group = groups[i]; if (group.get_children().length == 0) group.destroy(); @@ -938,7 +938,7 @@ ChatNotification.prototype = { let body = highlighter.actor; let styles = props.styles; - for (let i = 0; i < styles.length; i ++) + for (let i = 0; i < styles.length; i++) body.add_style_class_name(styles[i]); let group = props.group;