fixed: disable sms in local mode
This commit is contained in:
parent
35bbaa9195
commit
32859a78f4
1 changed files with 6 additions and 0 deletions
6
main.js
6
main.js
|
|
@ -371,6 +371,12 @@ var snippets = [
|
|||
|
||||
function sms()
|
||||
{
|
||||
if (!isremote())
|
||||
{
|
||||
showtemporaryinfo("SMS is not available in local mode.");
|
||||
return;
|
||||
}
|
||||
|
||||
queryremote({action: "sms", data: currentnote.content.replace(/\n/g, " ")})
|
||||
.then(data =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue