This is the situation, which seems to me very weird...
This is the code piece.
var view = Backbone.View.extend({
el: '.login',
events: {
'click #clickMe': 'clickMe',
},
clickMe: function (e) {
console.log('Clicked!')
}
});
Where '.login' is a parent container and the '#clickMe' is a button in it
The website is multilangual.. and the code works (i.e prints "Clicked" in console) fine, when swiching the language(with PHP) to other language (i.e Switzerland, which changes all the textes), the click event simply not fire, no errors.. nothing, it just wont consolelog the text
Ideas?