@healthcatalyst/catalyst-docfx-template 1.0.123 → 1.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
package/styles/main.js
CHANGED
|
@@ -86,6 +86,7 @@ if ($('#feedback-survey').length > 0) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
form.addEventListener('submit', e => {
|
|
89
|
+
console.log(profile);
|
|
89
90
|
e.preventDefault();
|
|
90
91
|
var formData = new FormData(form);
|
|
91
92
|
var feedbackForm = {
|
|
@@ -96,9 +97,9 @@ if ($('#feedback-survey').length > 0) {
|
|
|
96
97
|
suggestions: formData.get("helpful?") === "no" && formData.get("suggest") ? formData.get("suggest") : "",
|
|
97
98
|
date: new Date()
|
|
98
99
|
};
|
|
99
|
-
fetch(scriptURL, { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(feedbackForm) })
|
|
100
|
+
/*fetch(scriptURL, { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(feedbackForm) })
|
|
100
101
|
.then(response => console.log('Success!', response))
|
|
101
|
-
.catch(error => console.error('Error!', error.message))
|
|
102
|
+
.catch(error => console.error('Error!', error.message))*/
|
|
102
103
|
$(".feedback-container").toggle();
|
|
103
104
|
$("#feedback-response").toggle(500);
|
|
104
105
|
})
|
|
@@ -213,7 +214,6 @@ var profile = (function () {
|
|
|
213
214
|
url: "https://docs.healthcatalyst.com/api/profile",
|
|
214
215
|
dataType: "json",
|
|
215
216
|
success: function (data) {
|
|
216
|
-
console.log(data);
|
|
217
217
|
return data;
|
|
218
218
|
}
|
|
219
219
|
});
|