- {% if link %}</a>{% endif %}
- </div>
- <div style="clear: both"></div>
-</div>
-{% if closeable %}
- <div id="funding-handle">{% trans "Help free the book!" %}</div>
-
-<script type="text/javascript">(function() {
-var storage = true;
-try {
- localStorage.setItem('test', 'test');
- localStorage.removeItem('test');
-} catch (exception) {
- storage = false;
-}
-if (storage) {
- var closeable = document.getElementById('funding-closeable');
- if (localStorage['hide-offer-id'] !== closeable.getAttribute('data-offer-id')) {
- closeable.style.display = 'block';
- document.getElementById('funding-handle').style.display = 'none';
- }
-}
-})();</script>
-
-{% endif %}
-
-
-{% endif %}
-
+ {% if closeable %}
+ <div id="funding-handle">{% trans "Help free the book!" %}</div>
+ <script type="text/javascript">
+ (function() {
+ var storage = true;
+ try {
+ localStorage.setItem('test', 'test');
+ localStorage.removeItem('test');
+ } catch (exception) {
+ storage = false;
+ }
+ if (storage) {
+ var closeable = document.getElementById('funding-closeable');
+ if (localStorage['hide-offer-id'] !== closeable.getAttribute('data-offer-id')) {
+ closeable.style.display = 'block';
+ document.getElementById('funding-handle').style.display = 'none';
+ }
+ }
+ })();
+ </script>
+ {% endif %}
+ {% endif %}