diff --git a/src/html/component-min.html b/src/html/component-min.html index 5bdfb03..b1c1eb9 100644 --- a/src/html/component-min.html +++ b/src/html/component-min.html @@ -1 +1 @@ -
${options.title}
×
\ No newline at end of file +
${options.title}
×
\ No newline at end of file diff --git a/src/html/component.html b/src/html/component.html index 3065ee1..1327e6d 100644 --- a/src/html/component.html +++ b/src/html/component.html @@ -19,13 +19,6 @@ - -
- ${options.buttonIcon3} - ${options.buttonText3} -
-
-
${options.buttonIcon4} diff --git a/src/js/mailymaily.js b/src/js/mailymaily.js index 9359b51..e64f3e8 100644 --- a/src/js/mailymaily.js +++ b/src/js/mailymaily.js @@ -105,11 +105,6 @@ var mailymailyApp = mailymailyApp || {}; */ options.buttonText2 = 'Outlook Web'; - /** - * Text for button 3. - * @type {String} - */ - options.buttonText3 = 'Yahoo'; /** * Text for button 4. @@ -227,7 +222,7 @@ var mailymailyApp = mailymailyApp || {}; app.buildModal = function() { var modal = document.createElement('div'); - var markup = `
`; + var markup = `
${options.title}
×
`; markup = markup.replace(/mailymaily/g, app.prefix()); @@ -307,9 +302,6 @@ var mailymailyApp = mailymailyApp || {}; var outlook = document.getElementById(app.prefix('-button-2')); outlook.href = `https://outlook.office.com/owa/?path=/mail/action/compose&to=${email}&subject=${subject}&body=${body}`; - var yahoo = document.getElementById(app.prefix('-button-3')); - yahoo.href = `https://compose.mail.yahoo.com/?to=${email}&subject=${subject}&cc=${cc}&bcc=${bcc}&body=${body}`; - var defaultApp = document.getElementById(app.prefix('-button-4')); defaultApp.href = `mailto:${email}?subject=${subject}&cc=${cc}&bcc=${bcc}&body=${body}`; @@ -322,9 +314,6 @@ var mailymailyApp = mailymailyApp || {}; var buttonIcon2 = document.getElementById(app.prefix('-button-icon-2')); buttonIcon2.innerHTML = options.buttonIcon2; - var buttonIcon3 = document.getElementById(app.prefix('-button-icon-3')); - buttonIcon3.innerHTML = options.buttonIcon3; - var buttonIcon4 = document.getElementById(app.prefix('-button-icon-4')); buttonIcon4.innerHTML = options.buttonIcon4;