diff --git a/share/collection.js b/share/collection.js
index 99684524192ad31a08f0e67a9be5326134b9eef1..d3fb11c6244cf6789d9120e66cb77b9e9d63e8de 100644 (file)
--- a/share/collection.js
+++ b/share/collection.js
function format_instance(inst)
{
return ("<li class=\"instance\"><a href=\"" + location.pathname
- + "?action=show_graph;" + inst.params + "\">" + inst.description
+ + "?action=show_instance;" + inst.params + "\">" + inst.description
+ "</a></li>");
}
$("#search-input").blur (function()
{
- $("#search-suggest").hide ();
+ window.setTimeout (function ()
+ {
+ $("#search-suggest").hide ();
+ }, 500);
});
$("#search-input").focus (function()
{
update_search_suggestions ();
});
+
+ $(".graph-img").append ("<div class=\"graph-buttons presets\">"
+ + "<div class=\"graph-button\" >H</div>"
+ + "<div class=\"graph-button\" >D</div>"
+ + "<div class=\"graph-button\" >W</div>"
+ + "<div class=\"graph-button\" >M</div>"
+ + "<div class=\"graph-button\" >Y</div>"
+ + "<div class=\"graph-button\" >!</div>"
+ + "</div>"
+ + "<div class=\"graph-buttons navigation\">"
+ + "<div class=\"graph-button\" >←</div>"
+ + "<div class=\"graph-button\" >−</div>"
+ + "<div class=\"graph-button\" >+</div>"
+ + "<div class=\"graph-button\" >→</div>"
+ + "</div>"
+ );
});
/* vim: set sw=2 sts=2 et fdm=marker : */