Skip to content

Commit 951c063

Browse files
committed
eslint browser - enterpriseinfo
1 parent b039d33 commit 951c063

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

plugins/enterpriseinfo/frontend/public/javascripts/countly.views.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/*global CountlyHelpers, EnterpriseView, countlyGlobalEE, countlyView, countlyGlobal, Handlebars, app, $, jQuery*/
2+
13
window.EnterpriseView = countlyView.extend({
24
initialize: function() {},
35
beforeRender: function() {
@@ -52,9 +54,9 @@ app.route("/enterprise", "enterprise", function() {
5254

5355
$(document).ready(function() {
5456
if (countlyGlobal.plugins.indexOf("drill") < 0) {
55-
if (typeof countlyGlobalEE !== "undefined" && countlyGlobalEE.discount) {
56-
var msg = {title: "5000+ users reached", message: "<a href='https://count.ly/enterprise-edition/' target='_blank'>To get 20% off Enterprise edition contact us with code:<br/><strong>" + countlyGlobalEE.discount + "</strong></a>", info: "Thank you for being with us", sticky: true, closeOnClick: false};
57-
CountlyHelpers.notify(msg);
57+
if (typeof countlyGlobalEE !== "undefined" && countlyGlobalEE.discount) {
58+
var msg = {title: "5000+ users reached", message: "<a href='https://count.ly/enterprise-edition/' target='_blank'>To get 20% off Enterprise edition contact us with code:<br/><strong>" + countlyGlobalEE.discount + "</strong></a>", info: "Thank you for being with us", sticky: true, closeOnClick: false};
59+
CountlyHelpers.notify(msg);
5860
}
5961

6062
var badge = '<a id="enterprise-badge" href="#/enterprise"><div data-localize="enterpriseinfo.badge">Get Enterprise</div></a>';

0 commit comments

Comments
 (0)