Bladeren bron

Fix whitespaces in terms.js

tags/v0.4.3^2
Vildravn 4 jaren geleden
bovenliggende
commit
29f73cf0c5
1 gewijzigde bestanden met toevoegingen van 17 en 17 verwijderingen
  1. +17
    -17
      src/client/ui/templates/terms/terms.js

+ 17
- 17
src/client/ui/templates/terms/terms.js Bestand weergeven

@@ -1,25 +1,25 @@
define([
'js/system/events',
'js/system/client',
'ui/factory',
'html!ui/templates/terms/template',
'css!ui/templates/terms/styles',
'js/system/events',
'js/system/client',
'ui/factory',
'html!ui/templates/terms/template',
'css!ui/templates/terms/styles',
'js/rendering/renderer',
'js/config'
], function (
events,
client,
uiFactory,
template,
styles,
events,
client,
uiFactory,
template,
styles,
renderer,
config
) {
return {
tpl: template,
return {
tpl: template,
centered: true,

postRender: function () {
postRender: function () {
this.tryAutoAccept();

this.find('.btnCancel').on('click', this.cancel.bind(this));
@@ -30,15 +30,15 @@ define([
if (config.readTos)
this.accept();
},
cancel: function () {
window.location = window.location;
window.location = window.location;
},
accept: function () {
config.set('readTos', true);
this.destroy();
uiFactory.build('characters', {});
}
};
};
});

Laden…
Annuleren
Opslaan