To use the mmenu.js plugin in combination with the Turbolinks framework, include the "turbolinks" wrapper .js file and add "turbolinks" to the wrappers option.

   <script src="path/to/jquery.js"></script>
   <script src="path/to/jquery.mmenu.js"></script>
   <script src="path/to/jquery.mmenu.turbolinks.js"></script>
      $(document).ready(function() {
            wrappers: ["turbolinks"]

What it does

Using the "turbolinks" wrapper will enable the menu to be re-initiated after navigating to a new page "the turbolinks way".

Next wrapper:

Deprecated There is a new, improved version available. Check it out on mmenujs.com

Get the new version No thanks