mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Merge branch 'master' of github.com:bartTC/dpaste
This commit is contained in:
commit
f3b5bad47c
1 changed files with 0 additions and 2 deletions
|
@ -32,7 +32,6 @@
|
|||
<script src="{% static "dpaste/bootstrap/js/bootstrap.min.js" %}"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
{% if request.session.userprefs.display_all_lexer %}
|
||||
$('#guess_lexer_btn').click(function(){
|
||||
$.getJSON('{% url "snippet_guess_lexer" %}',
|
||||
{'codestring': $('#id_content').val()},
|
||||
|
@ -45,7 +44,6 @@ $(document).ready(function(){
|
|||
}
|
||||
});
|
||||
});
|
||||
{% endif %}
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue