Created
September 11, 2012 20:54
-
-
Save spdustin/3701983 to your computer and use it in GitHub Desktop.
Ribbon Hack 5
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
function spe_emf_FixWorkspace() { | |
var elWorkspace = document.getElementById('s4-workspace'); | |
elWorkspace.style.height = (GetViewportHeight() - (AbsTop(elWorkspace))) + "px"; | |
} | |
ExecuteOrDelayUntilScriptLoaded(function () { SP.UI.Workspace.add_resized(spe_emf_FixWorkspace); }, "init.js"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment