Skip to content

Commit

Permalink
updated pagy.js requirements info
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Aug 20, 2018
1 parent fcf70b4 commit 429ac14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/extras.md
Expand Up @@ -38,7 +38,7 @@ All the added methods are documented in the respective extras.

## Javascript

The `compact`, `items` and `responsive` extras use javascript, so if you use any of them you should load the [pagy.js](https://github.com/ddnexus/pagy/blob/master/lib/javascripts/pagy.js) file, and run `Pagy.init()` on window load.
The the `compact` and `responsive` navs, and the `items` extra use javascript, so if you use any of them you should load the [pagy.js](https://github.com/ddnexus/pagy/blob/master/lib/javascripts/pagy.js) file, and run `Pagy.init()` on window load.

### In rails apps

Expand Down
2 changes: 1 addition & 1 deletion lib/config/pagy.rb
Expand Up @@ -88,7 +88,7 @@

# Rails

# Rails: extras assets path required by compact, items and responsive extras
# Rails: extras assets path required by the compact and responsive navs, and the items extra
# See https://ddnexus.github.io/pagy/extras#javascript
# Rails.application.config.assets.paths << Pagy.root.join('javascripts')

Expand Down

0 comments on commit 429ac14

Please sign in to comment.