diff --git a/website/source/docs/vagrant-cloud/api.html.md.erb b/website/source/docs/vagrant-cloud/api.html.md.erb index 3558322b9..cdc303aab 100644 --- a/website/source/docs/vagrant-cloud/api.html.md.erb +++ b/website/source/docs/vagrant-cloud/api.html.md.erb @@ -13,9 +13,9 @@ sidebar_current: "vagrant-cloud-api" $(".examples pre.highlight." + language).show(); } - $(document).ready(function() { - setExampleLanguage("shell"); } - ); + $(document).on('ready turbolinks:load', function() { + setExampleLanguage("shell"); + });