fixing feedback.html content. wasn't working in firefox.
This commit is contained in:
parent
f4fc703f5e
commit
6d21a02e2d
@ -1,16 +1 @@
|
||||
<!-- Send feedback function -->
|
||||
<script>
|
||||
function SendLinkByMail(href) {
|
||||
var subject= "{{site.site_title}} feedback";
|
||||
var body = "I have some feedback about the {{page.title}} page: ";
|
||||
body += window.location.href;
|
||||
body += "";
|
||||
var uri = "mailto:{{site.feedback_email}}?subject=";
|
||||
uri += encodeURIComponent(subject);
|
||||
uri += "&body=";
|
||||
uri += encodeURIComponent(body);
|
||||
window.location.href = uri;
|
||||
}
|
||||
</script>
|
||||
|
||||
<li><a href="{% if site.feedback_link %}{{site.feedback_link}}{% else %}javascript:(function()%7BSendLinkByMail()%3B%7D)()%3B{% endif %}" target="_blank">{% if site.feedback_link == null %}<i class="fa fa-envelope-o"></i>{% endif %} {% if site.feedback_text %}{{site.feedback_text}}{% else %}Feedback{% endif %}</a></li>
|
||||
<a class="email" title="Submit feedback" href="#" onclick="javascript:window.location='mailto:?subject={{site.site_title}} Feedback&body=I have some feedback about the {{page.title}} page: ' + window.location.href;"><div class="feedbackButton"><i class="fa fa-envelope-o"></i> Send Feedback About This Page</a></div></a>
|
Loading…
x
Reference in New Issue
Block a user