mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
enabled all lexers
This commit is contained in:
parent
a5bc2ac164
commit
cdc4bc49bd
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