Created
January 21, 2015 12:42
-
-
Save wictorwilen/08a9c1936cd2a59342dc to your computer and use it in GitHub Desktop.
Show the current confgured Alternate CSS Url
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
// Copy and paste this into the Console window in any browser debugging tool to show the Alternate CSS for a site | |
var context = SP.ClientContext.get_current() | |
var web = context.get_web() | |
context.load(web) | |
context.executeQueryAsync( | |
function(){ | |
alert('Value is: ' + web.get_alternateCssUrl()) | |
}, | |
function() { | |
alert('Error') | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment