mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-15 22:00:08 -07:00
commit
aeafbf6688
2
build.sh
2
build.sh
@ -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'
|
||||
|
@ -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',
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user