Skip to content

Commit

Permalink
Merge pull request #77 from Keyes/patch-5
Browse files Browse the repository at this point in the history
fix destroySlick() with new syntax
  • Loading branch information
vasyabigi committed Mar 27, 2015
2 parents 06769f4 + 7ffe366 commit 63d0822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ angular.module('slick', [])
destroySlick = () ->
$timeout(() ->
slider = $(element)
slider.unslick()
slider.slick('unslick')
slider.find('.slick-list').remove()
slider
)
Expand Down

0 comments on commit 63d0822

Please sign in to comment.