File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function getCard(card_data) {
38
38
// Function that opens gene card when clicking on small-searchpanel
39
39
40
40
$ ( function ( ) {
41
- $ ( ' .card-trigger') . click ( function ( ) {
41
+ $ ( document . body ) . on ( 'click' , ' .card-trigger', function ( ) {
42
42
var card_data = {
43
43
target : $ ( this ) . attr ( "target" ) ,
44
44
targetDB : $ ( this ) . attr ( "targetDB" ) ,
@@ -49,5 +49,4 @@ $(function() {
49
49
getCard ( card_data ) ;
50
50
} ) ;
51
51
52
-
53
52
} ) ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function getCard(card_data) {
38
38
// Function that opens gene card when clicking on small-searchpanel
39
39
40
40
$ ( function ( ) {
41
- $ ( ' .card-trigger') . click ( function ( ) {
41
+ $ ( document . body ) . on ( 'click' , ' .card-trigger', function ( ) {
42
42
var card_data = {
43
43
target : $ ( this ) . attr ( "target" ) ,
44
44
targetDB : $ ( this ) . attr ( "targetDB" ) ,
@@ -49,5 +49,4 @@ $(function() {
49
49
getCard ( card_data ) ;
50
50
} ) ;
51
51
52
-
53
52
} ) ;
You can’t perform that action at this time.
0 commit comments