Skip to content

Instantly share code, notes, and snippets.

@vman
Created March 12, 2013 09:36
Show Gist options
  • Save vman/5141552 to your computer and use it in GitHub Desktop.
Save vman/5141552 to your computer and use it in GitHub Desktop.
$(document).ready(function(){
var scriptBase = _spPageContextInfo.webAbsoluteUrl + "/_layouts/15/";
$.getScript(scriptBase + "sp.runtime.js",function(){
$.getScript(scriptBase + "sp.js",function(){
$.getScript(scriptBase + "sp.publishing.js", modifyNavigation);
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment