fix show-nearby thing
This commit is contained in:
parent
20acc3bc5b
commit
66db7c4c7c
1 changed files with 2 additions and 6 deletions
|
@ -876,6 +876,8 @@ c3nav = {
|
||||||
c3nav.update_state(false);
|
c3nav.update_state(false);
|
||||||
} else if ($(this).is('.share')) {
|
} else if ($(this).is('.share')) {
|
||||||
c3nav._buttons_share_click(location);
|
c3nav._buttons_share_click(location);
|
||||||
|
} else if ($(this).is('.show-nearby')) {
|
||||||
|
c3nav._click_anywhere_load(true);
|
||||||
} else if ($(this).is('a')) {
|
} else if ($(this).is('a')) {
|
||||||
c3nav._modal_link_click.call(this, e);
|
c3nav._modal_link_click.call(this, e);
|
||||||
} else {
|
} else {
|
||||||
|
@ -889,12 +891,6 @@ c3nav = {
|
||||||
c3nav.update_state(true);
|
c3nav.update_state(true);
|
||||||
}
|
}
|
||||||
if (c3nav._click_anywhere_popup) c3nav._click_anywhere_popup.remove();
|
if (c3nav._click_anywhere_popup) c3nav._click_anywhere_popup.remove();
|
||||||
} else {
|
|
||||||
if ($(this).is('.show-nearby')) {
|
|
||||||
c3nav._click_anywhere_load(true);
|
|
||||||
} else if ($(this).is('a')) {
|
|
||||||
c3nav._modal_link_click.call(this, e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue