1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-15 22:00:08 -07:00

Merge pull request #32 from Ionic/bugfix/misc

Misc. bug fixes
This commit is contained in:
Andrew Van Tassel 2024-06-01 11:29:36 -06:00 committed by GitHub
commit aeafbf6688
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -4,4 +4,4 @@ filename='mailhops'
rm -f $filename.zip
zip -r $filename.zip ./ -i *.js *.xhtml *.html *.png *.svg *.gif *.css *.json _locales/*/messages.json
zip -r $filename.zip ./ -i '*.js' '*.xhtml' '*.html' '*.png' '*.svg' '*.gif' '*.css' '*.json' '*.dtd'

View File

@ -10,7 +10,7 @@ class MailHops {
loading = false
tabId = null
options = {
version: 'MailHops Plugin 4.3.3',
version: 'MailHops Plugin 4.4.0',
api_key: '',
owm_key: '',
lang: 'en',

View File

@ -136,7 +136,7 @@ function updateContent(msg, noauth) {
auth += '<label class="tiny ui label ' + msg.message.auth[a].color + '"><img src="' + msg.message.auth[a].icon + '"/>' + msg.message.auth[a].type + ' ' + msg.message.auth[a].copy + '</label>';
}
else if (msg.message.auth[a].link) {
if (msg.message.auth[a].link.indexOf(',')) {
if (-1 !== msg.message.auth[a].link.indexOf(',')) {
auth += '<a class="tiny ui label ' + msg.message.auth[a].color + '" href="'+msg.message.auth[a].link.substr(0,msg.message.auth[a].link.indexOf(','))+'" target="_blank">' + msg.message.auth[a].type + '</a>';
}
else {