mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Fixed initial text wordwrap.
This commit is contained in:
parent
dd83f739e9
commit
a0b9e845f4
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ jQuery(document).ready(function(){
|
|||
|
||||
// Activate wordwrap for text heavy lexers or if enabled in the settings
|
||||
if('{{ wordwrap }}' === 'True' || '{{ request.session.userprefs.wordwrap }}' === 'True') {
|
||||
$('#toggleWordwrap').trigger('click');
|
||||
$('#toggleWordwrap a').trigger('click');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue