[frio] Add a conditional browser share button
This commit is contained in:
parent
18b32b68aa
commit
f2af985350
4 changed files with 18 additions and 2 deletions
|
@ -459,6 +459,10 @@ $(document).ready(function () {
|
|||
$pokeSubmit.button("reset");
|
||||
});
|
||||
});
|
||||
|
||||
if (!navigator.canShare || !navigator.canShare()) {
|
||||
$('.button-browser-share').hide();
|
||||
}
|
||||
});
|
||||
|
||||
function openClose(theID) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue