removed EmptyLines in ChatView.js and Change Lineendings to LF in toolbar_fileUpload.html

This commit is contained in:
worlword 2018-04-12 09:37:58 +02:00
parent bf3e6f2363
commit ca40cf6541
2 changed files with 4 additions and 8 deletions

View File

@ -818,8 +818,6 @@
return stanza; return stanza;
}, },
sendMessage (message, file=null) { sendMessage (message, file=null) {
/* Responsible for sending off a text message. /* Responsible for sending off a text message.
* *
@ -1247,13 +1245,11 @@
} }
}); });
_converse.on('connected', () => { _converse.on('connected', () => {
// Advertise that we support XEP-0382 Message Spoilers // Advertise that we support XEP-0382 Message Spoilers
_converse.connection.disco.addFeature(Strophe.NS.SPOILER); _converse.connection.disco.addFeature(Strophe.NS.SPOILER);
}); });
/************************ BEGIN API ************************/ /************************ BEGIN API ************************/
_.extend(_converse.api, { _.extend(_converse.api, {
'chatviews': { 'chatviews': {

View File

@ -1,4 +1,4 @@
<input type="file" class="fileUpload_input" style="display:none"/> <input type="file" class="fileUpload_input" style="display:none"/>
<li class="toggle-fileUpload"> <li class="toggle-fileUpload">
<a class="fa fa-paperclip" title="{{{o.label_upload_file}}}"></a> <a class="fa fa-paperclip" title="{{{o.label_upload_file}}}"></a>
</li> </li>