Reworking page visibility API + Adding more utils

This commit is contained in:
dominiclord
2016-05-19 13:37:19 -04:00
parent b2abd51191
commit bb757a22f6
7 changed files with 555 additions and 53 deletions

View File

@@ -5,8 +5,8 @@ export default class extends AbstractModule {
constructor(options) {
super(options);
this.$el.on('click', (event) => {
this.$document.trigger('title.changeLabel', [$(event.currentTarget).val()]);
this.$el.on('click.Button', (event) => {
this.$document.trigger('Title.changeLabel', [$(event.currentTarget).val()]);
});
}