use .on({click: ...}) instead of .click()

This commit is contained in:
rolux 2014-09-19 19:30:39 +02:00 committed by j
parent ae4349bcbb
commit cbaa36fb75
4 changed files with 20 additions and 12 deletions

View file

@ -86,9 +86,11 @@ pandora.ui.home = function() {
margin: 'auto',
opacity: 0
})
.click(function(e) {
.on({
click: function(e) {
// fixme: why?
e.stopPropagation();
}
})
.bindEvent({
submit: function(data) {

View file

@ -125,9 +125,11 @@ pandora.ui.home = function() {
margin: '0 auto 0 auto',
opacity: 0
})
.click(function(e) {
.on({
click: function(e) {
// fixme: why?
e.stopPropagation();
}
})
.bindEvent({
submit: function(data) {

View file

@ -78,9 +78,11 @@ pandora.ui.home = function() {
margin: 'auto',
opacity: 0
})
.click(function(e) {
.on({
click: function(e) {
// fixme: why?
e.stopPropagation();
}
})
.bindEvent({
submit: function(data) {

View file

@ -97,9 +97,11 @@ pandora.ui.home = function() {
margin: '0 auto 0 auto',
opacity: 0
})
.click(function(e) {
.on({
click: function(e) {
// fixme: why?
e.stopPropagation();
}
})
.bindEvent({
submit: function(data) {