Bug 18160: Follow up tweak if condition

Based on comment #9, moved if condition.
Based on comment #8, tweaked condition to grab preference.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Mark Tompsett 2017-02-23 11:47:00 -05:00 committed by Kyle M Hall
parent 72e67285b7
commit 37288efd23

View file

@ -896,8 +896,8 @@ Using this account is not recommended because some parts of Koha will not functi
});
//]]>
</script>
[% IF Koha.Preference('OverDriveCirculation') %]
<script type="text/javascript" src="[% interface %]//[% theme %]/js/overdrive.js"></script>
[% IF ( OverDriveCirculation ) %]
<script type="text/JavaScript">
$(document).ready(function() {
[% IF ( overdrive_error ) %]