Skip to content

Commit ab5db58

Browse files
committed
Removed Unused Code
1 parent 7a0b8da commit ab5db58

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

dist/WhatsAppChatBox.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
},
3030
chat_name: "Sales",
3131
text: "Hey There 👋<br>Let's talk to get a Price Quote!",
32-
button_text: "",
33-
tooltipText: "We're on WhatsApp!",
32+
tooltipText: "Hi, I am here to assist you!",
3433
tooltipTimeout: 15000,
3534
});
3635

docs/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
},
3030
chat_name: "Sales",
3131
text: "Hey There 👋<br>Let's talk to get a Price Quote!",
32-
button_text: "",
33-
tooltipText: "We're on WhatsApp!",
32+
tooltipText: "Hi, I am here to assist you!",
3433
tooltipTimeout: 15000,
3534
});
3635

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ Configure with your settings
2323
},
2424
chat_name: "Sales",
2525
text: "Hey There 👋<br>Let's talk to get a Price Quote!",
26-
button_text: "",
27-
tooltipText: "We're on WhatsApp!",
26+
tooltipText: "Hi, I am here to assist you!",
2827
tooltipTimeout: 15000,
2928
});
3029
```

src/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class WAChatBox {
1717
status: "Typically replies within an hour",
1818
},
1919
text: `Hey There 👋<br><br>I'm here to help, so let me know what's up and I'll be happy to find a solution 🤓`,
20-
button_text: "Need Help?",
2120
chat_name: "Support",
2221
tooltipText: "We're on WhatsApp",
2322
tooltipTimeout: 5000,
@@ -162,7 +161,7 @@ class WAChatBox {
162161

163162

164163
render = () => {
165-
const { user = {}, text, button_text, chat_name, tooltipText } = this.config;
164+
const { user = {}, text, chat_name, tooltipText } = this.config;
166165
const { name = '', avatar = '', status = '' } = user;
167166

168167
return (

0 commit comments

Comments
 (0)