Permalink
Browse files

Make the form invisible by default so it doesn't show up when the gad…

…get loads.
  • Loading branch information...
1 parent b2f7c27 commit 20e0d661c9579cbe333306819526e983caf49a4d @schani committed Nov 2, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 flickr.xml
View
@@ -8,7 +8,7 @@
<![CDATA[
<!-- <div id="debug">not inited</div> -->
<div id="content_div"></div>
- <div id="form">
+ <div id="form" style="display: none">
URL: <input type=text value="http://www.flickr.com/photos/schani/" id="url" size="50">
<input type=button value="Go!" onClick="fetchFromURL()"><br>
Number of photos: <input type=text value="3" id="per_page"><br>
@@ -661,6 +661,9 @@
}
if (handler) {
handler.stateUpdated ();
+ } else {
+ var form = document.getElementById ("form");
+ form.style.display = "block";
}
}

0 comments on commit 20e0d66

Please sign in to comment.