﻿
﻿@using GiveCRM.Web.Infrastructure
@if (ConfigurationSettings.IsUserVoiceIntegrationEnabled)
{
    <script type="text/javascript">
        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/XMFifLxGL4npm6SHybYvtw.js';
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(uv, s);
        })();
    </script>
}
Add UserVoice widget to global footer.
Add UserVoice widget to global footer.

The widget is placed on the right hand side of the window, half-way down
the vertical space.  It is "fixed" to the window, so it will remain in
place as the user scrolls the page.

The widget might be better placed at the very bottom of the <body> tag in
_Layout.cshtml to improve page rendering.
