Upgrade Turbolinks to version 5.2.1

We didn't upgrade Turbolinks when we upgraded to Rails 5 so we didn't
upgrade too many things at the same time, and postponed it... until now
:).

Note upgrading Turbolinks fixes an issue with foundation's sticky when
using the browser's back and forward buttons. We're adding tests for
these scenarios.

Co-authored-by: Senén Rodero Rodríguez <senenrodero@gmail.com>
This commit is contained in:
Javi Martín
2019-09-13 02:22:10 +02:00
parent a8f261ed95
commit 7b96180a76
16 changed files with 54 additions and 25 deletions

View File

@@ -17,6 +17,5 @@
}
};
$(document).on("page:before-unload", App.HTMLEditor.destroy);
$(document).on("page:restore", App.HTMLEditor.initialize);
$(document).on("turbolinks:before-cache", App.HTMLEditor.destroy);
}).call(this);