Created
May 13, 2015 20:02
-
-
Save beckettkev/9c33916465b36ee70948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _options = { "appTitle": "Top 3 Biscuits", | |
"settingsLinks": [ | |
{ | |
"linkUrl": getSharePointRootTenantUrl(_hosturl), | |
"displayName": _hostTitle ? _hostTitle : 'Home' | |
} | |
] | |
}; | |
var _nav = new SP.UI.Controls.Navigation("chrome_ctrl_placeholder", _options ); | |
var _title = $("#chromeControl_topheader_sitetitle").text(); | |
$("#chromeControl_bottomheader").remove(); | |
$('body').css('overflow-y', 'auto'); | |
$("#chromeControl_topheader_sitetitle").text(_title.replace(/\++/g," "); | |
_nav.setVisible(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment