Announcement Announcement Module
Collapse
No announcement yet.
JS Console Error TypeError: el.data(...).toInt is not a function Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JS Console Error TypeError: el.data(...).toInt is not a function

    Tried installing and using JV Gallery today and when I attempt to load up the article with JV Gallery in it, I receive the following console error: TypeError: el.data(...).toInt is not a function

    Coming from gallery.js:

    el.imagesLoaded( function(){
    if(el.data('grid') == 'fluid'){
    el.find('li').css({widthel.data('col_width').toInt()) - (el.data('gutter').toInt()) + '%'});
    }else{
    el.find('li').css({widthel.data('col_width').toInt()) - (el.data('gutter').toInt())});
    }
Working...
X