On 24 December 2014 at 21:08, David Williams <
li...@ruby-forum.com> wrote:
> Hassan Schroeder wrote in post #1165339:
>> On Wed, Dec 24, 2014 at 10:06 AM, David Williams <
li...@ruby-forum.com>
>> wrote:
>>> The javascript is not working for 'owlcarousel-rails' plugin.
>>
>> Disclaimer: never heard of this plugin, but ---
>>
>>> $(".owl-carousel").owlCarousel();
>>
>> if you're calling that method *before* any such elements exist in the
>> DOM, I'd expect exactly nothing to happen :-)
>>
>> Have you looked at the JS console/log to see if there are errors?
>>
>> --
>> Hassan Schroeder ------------------------
hassan.s...@gmail.com
>>
http://about.me/hassanschroeder
>> twitter: @hassan
>
> Can you test this gem to see if it's working on Ruby on Rails 4 for you?
> It's not even showing the images that are inside of the div tags.
> Normally, it would even if the JavaScript was acting up.
View the source of the page in the browser to get a clue as to what is going on.