Created
March 6, 2015 19:14
-
-
Save Radagaisus/3d28bedb948a6ab0d285 to your computer and use it in GitHub Desktop.
Minimize the Captain Up HUD
This file contains hidden or 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
// Asynchronous wrapper around Captain Up, similar to jQuery's DOM ready. Place this | |
// snippet on every page where you want the HUD to start in minimized state. Place it | |
// below the Captain Up script embed snippet in your HTML. The code will run immediately | |
// after Captain Up finished loading. | |
captain.up(function() { | |
// Minimizes the HUD, instantly. | |
captain.hud.minimize({instantly: true}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment