Commit 7a4d51e9 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

fixed js on modal

parent 05acd3f5
......@@ -4,9 +4,6 @@
SRCT Bookshare • {{ listing.title }}
{% endblock %}
{% block javascript %}
{% endblock javascript %}
{% block content %}
{% load crispy_forms_tags %}
......@@ -14,13 +11,15 @@ SRCT Bookshare • {{ listing.title }}
{% load humanize %}
<!-- you can't actually dismiss this for some reason -->
{% if flag_count > 0 %}
{% if flag_count > 4 %}
{% block javascript %}
<script type="text/javascript">
;$(window).onload(function(){
$(window).load(function(){
$('#myModal').modal('show');
});
</script>
{% endblock %}
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment