Skip to content

Commit

Permalink
Make the form invisible by default so it doesn't show up when the gad…
Browse files Browse the repository at this point in the history
…get loads.
  • Loading branch information
schani committed Nov 2, 2009
1 parent b2f7c27 commit 20e0d66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flickr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -661,6 +661,9 @@
}
if (handler) {
handler.stateUpdated ();
} else {
var form = document.getElementById ("form");
form.style.display = "block";
}
}
Expand Down

0 comments on commit 20e0d66

Please sign in to comment.