Workflow updating files of messenger
This commit is contained in:
parent
ead49da75f
commit
dad09da9e2
@ -3622,7 +3622,13 @@
|
||||
|
||||
getRef('emoji_picker').addEventListener('emoji-click', e => {
|
||||
const clickedEmoji = e.detail.unicode
|
||||
getRef('type_message').value += clickedEmoji
|
||||
// append emoji to input field where cursor was
|
||||
const cursorPosition = getRef('type_message').textarea.selectionStart;
|
||||
const textBeforeCursor = getRef('type_message').value.substring(0, cursorPosition)
|
||||
const textAfterCursor = getRef('type_message').value.substring(cursorPosition)
|
||||
getRef('type_message').value = textBeforeCursor + clickedEmoji + textAfterCursor
|
||||
getRef('type_message').textarea.selectionStart = cursorPosition + clickedEmoji.length
|
||||
getRef('type_message').textarea.selectionEnd = cursorPosition + clickedEmoji.length
|
||||
if (!floGlobals.isMobileView) {
|
||||
setTimeout(() => {
|
||||
getRef('type_message').focusIn()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
(function (EXPORTS) { //floBlockchainAPI v3.1.2
|
||||
(function (EXPORTS) { //floBlockchainAPI v3.1.3
|
||||
/* FLO Blockchain Operator to send/receive data from blockchain using API calls via FLO Blockbook*/
|
||||
'use strict';
|
||||
const floBlockchainAPI = EXPORTS;
|
||||
@ -32,8 +32,8 @@
|
||||
checkIfTor().then(result => {
|
||||
isTor = result
|
||||
if (isTor) {
|
||||
DEFAULT.apiURL.FLO.push('http://vl7ni6byqx7rbub5hypxtod5dbfeuhoj5r5exuyl44pspqh2gasjj4qd.onion:9166/')
|
||||
DEFAULT.apiURL.FLO_TEST.push('http://omwkzk6bd6zuragdqsrhdyzgxzre7yx4vzrou4vzftintzc2dmagp6qd.onion:15017/')
|
||||
DEFAULT.apiURL.FLO.push('http://kvrddx6heo47rbbt77etxg6litckacbgos3nv5z7vc23ol2kjjeq72id.onion/')
|
||||
// DEFAULT.apiURL.FLO_TEST.push('http://omwkzk6bd6zuragdqsrhdyzgxzre7yx4vzrou4vzftintzc2dmagp6qd.onion:15017/')
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
2
messenger/scripts/floBlockchainAPI.min.js
vendored
2
messenger/scripts/floBlockchainAPI.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
messenger/scripts/floTokenAPI.min.js
vendored
Normal file
1
messenger/scripts/floTokenAPI.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user