[hamradio-commits] [dump1090] 242/373: Hide Settings-windows text while page is loading.

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 14:58:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch backport
in repository dump1090.

commit 92d665e0dae84c40b2550d869c325ff661d1d340
Author: terribl <terri at rannalla.net>
Date:   Sun Jun 2 13:45:53 2013 +0300

    Hide Settings-windows text while page is loading.
    
    	modified:   public_html/gmap.html
    	modified:   public_html/script.js
---
 public_html/gmap.html | 4 ++--
 public_html/script.js | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/public_html/gmap.html b/public_html/gmap.html
index 5f56ae4..c524bad 100644
--- a/public_html/gmap.html
+++ b/public_html/gmap.html
@@ -16,8 +16,8 @@
 		<script type="text/javascript" src="coolclock/moreskins.js"></script>
 	</head>
 	<body onload="initialize()">
-		<div id="dialog-modal" title="Basic modal dialog">
-			<p>The settings feature is coming soon.  Keep checking github.</p>
+		<div id="dialog-modal" title="Basic modal dialog" style="display:none;">
+			<p>The settings feature is coming soon. Keep checking GitHub.</p>
 		</div>
 		<div id="map_container">
 			<div id="map_canvas"></div>
diff --git a/public_html/script.js b/public_html/script.js
index f7d828e..3f31e20 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -176,6 +176,11 @@ function initialize() {
             }
         }
 	}
+	
+	// These will run after page is complitely loaded
+	$(window).load(function() {
+        $('#dialog-modal').css('display', 'inline'); // Show hidden settings-windows content
+    });
 
 	// Load up our options page
 	optionsInitalize();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list