Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Go back to hiding code editor till loaded
Browse files Browse the repository at this point in the history
Shows as a white block until loaded, so go back to having it's
visibility hidden until we're loaded and then show
  • Loading branch information
mattpass committed Sep 21, 2012
1 parent c3dbc41 commit 7e773e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/coder.css
Expand Up @@ -122,7 +122,7 @@ h2 {font-size: 18px; font-weight: normal; color: #fff}
.findBar .goLine {position: fixed; display: inline-block; width: 100px; right: -10px; top: 70px; height: 21px; font-size: 10px; z-index: 1}
.goLine .goToLine {width: 25px; height: 16px; border: 0; font-size: 10px; margin: -3px 0 0 3px}
.goLine .goToLine:focus {outline: none; box-shadow: 0 0 10px 1px rgba(0,198,255,1)}
.editor .code {position: relative; display: inline-block; top: 28px; width: 600px; height: 600px}
.editor .code {position: relative; display: inline-block; top: 28px; width: 600px; height: 600px; visibility: hidden}

.footer {position: fixed; display: inline-block; width: 100%; height: 30px; bottom: 0; background-color: rgba(0,0,0,0.7); left: 0; z-index: 2}
.footer .nesting {display: inline-block; padding: 5px 8px; margin: 4px 0 0 15px; font-weight: bold; font-size: 10px; color: #fff; background-color: #0b0}
Expand Down
3 changes: 3 additions & 0 deletions lib/settings.php
Expand Up @@ -198,6 +198,9 @@ function numClean($var) {
</script>
<?php
}

// Finally, show server data
$onLoadExtras .= ";top.ICEcoder.content.style.visibility='visible'";
}

// If we're due to show the settings screen
Expand Down

0 comments on commit 7e773e5

Please sign in to comment.