Skip to content

Commit

Permalink
Tiny fix to not used js var
Browse files Browse the repository at this point in the history
  • Loading branch information
marjoripomarole committed May 10, 2016
1 parent a2df101 commit 18bfde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static/js/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var $ = window.jQuery;
require('bxslider');

module.exports = {
init: function(maxSlides) {
init: function() {
var selector = '.fb-slider';
var itemWidth = $(selector).closest('#fb-modal').length > 0 ? 90 : 120;

Expand Down

0 comments on commit 18bfde5

Please sign in to comment.