rails-tables 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  $ ->
2
2
  $('table.datatable').bind 'sort', ->
3
- $(@).closest('table.datatable').data('unsorted', false)
3
+ $(@).data('unsorted', false)
4
4
  $('table.datatable').one 'sort', ->
5
- $(@).closest('table.datatable').data('unsorted', true)
5
+ $(@).data('unsorted', true)
6
6
 
7
7
  @rails_tables = {}
8
8
  @rails_tables.columns = ->
@@ -1,3 +1,3 @@
1
1
  module RailsTables
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-tables
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: