Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
galetahub committed May 25, 2017
1 parent 26a6cc1 commit 238576b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,10 @@ Create a file app/assets/javascripts/init_ckeditor.coffee
```coffee
ready = ->
$('.ckeditor').each ->
CKEDITOR.replace $(this).attr('id')
CKEDITOR.replace $(this).attr('id')

$(document).ready(ready)
$(document).on('page:load', ready) } }
$(document).on('page:load', ready)
```
Make sure the file is loaded from your app/assets/javascripts/application.js

Expand Down

0 comments on commit 238576b

Please sign in to comment.