Creates initial version of xmpp module.

This commit is contained in:
hristoterezov
2015-01-19 11:20:00 +02:00
parent ee94eca733
commit e4e66a03d7
56 changed files with 8946 additions and 3385 deletions

View File

@@ -11,6 +11,13 @@ module.exports = {
= PanelToggler.isVisible() ? PanelToggler.getPanelSize()[0] : 0;
return window.innerWidth - rightPanelWidth;
},
/**
* Changes the style class of the element given by id.
*/
buttonClick: function(id, classname) {
$(id).toggleClass(classname); // add the class to the clicked element
}
};