Menu icon Foundation

My Posts

No Content

My Comments

Dennis Aleynikov commented on GertG's post over 5 years

Might not be entirely related, but I've had the same issue come up when I installed foundation on rails using the method listed in Foundation's documentation:

 rails g foundation:install

I later found that the installation somehow added foundation's js twice, causing the off-canvas to not respond.

$(document).foundation();
$(function(){ $(document).foundation(); });

Removing the second line fixed everything for me.

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on GertG's post over 5 years

Might not be entirely related, but I've had the same issue come up when I installed foundation on rails using the method listed in Foundation's documentation:

 rails g foundation:install

I later found that the installation somehow added foundation's js twice, causing the off-canvas to not respond.

$(document).foundation();
$(function(){ $(document).foundation(); });

Removing the second line fixed everything for me.

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content