use .on({click: ...}) instead of .click()
This commit is contained in:
parent
ae4349bcbb
commit
cbaa36fb75
4 changed files with 20 additions and 12 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue