mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 04:56:21 +10:00
added user voice to get some feedback
This commit is contained in:
@@ -30,4 +30,5 @@ html
|
||||
= javascript_include_tag '/bootstrap/js/bootstrap.min.js'
|
||||
= javascript_include_tag '/fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.pack.js'
|
||||
= javascript_include_tag "http://maps.googleapis.com/maps/api/js?key=#{ENV['GOOGLE_API']}&sensor=false"
|
||||
= yield :javascript_includes
|
||||
= yield :javascript_includes
|
||||
= javascript_include_tag '/uservoice.js'
|
||||
@@ -14,4 +14,5 @@ html
|
||||
|
||||
= javascript_include_tag 'application'
|
||||
= javascript_include_tag 'https://login.persona.org/include.js'
|
||||
= javascript_include_tag '/bootstrap/js/bootstrap.min.js'
|
||||
= javascript_include_tag '/bootstrap/js/bootstrap.min.js'
|
||||
= javascript_include_tag '/uservoice.js'
|
||||
@@ -11,4 +11,5 @@ html
|
||||
= yield
|
||||
|
||||
= javascript_include_tag 'application'
|
||||
= yield :javascript_includes
|
||||
= yield :javascript_includes
|
||||
= javascript_include_tag '/uservoice.js'
|
||||
@@ -0,0 +1,6 @@
|
||||
var uvOptions = {};
|
||||
(function() {
|
||||
var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
|
||||
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/5ZpcaLisAVBrQKDlRrOA.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
|
||||
})();
|
||||
Reference in New Issue
Block a user