skvs 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/skvs/version.rb +1 -1
- data/lib/views/index.erb +2 -2
- metadata +3 -3
data/lib/skvs/version.rb
CHANGED
data/lib/views/index.erb
CHANGED
@@ -127,7 +127,7 @@
|
|
127
127
|
delete
|
128
128
|
</button>
|
129
129
|
</th>
|
130
|
-
<th><a href="<%= url("/#{k}") %>"><%=h k %></a></th>
|
130
|
+
<th><a href="<%= url("/#{k}") %>"><span class="key"><%=h k %></span></a></th>
|
131
131
|
<% if v.length < 100 %>
|
132
132
|
<td><%=hbr v %></td>
|
133
133
|
<% else %>
|
@@ -146,7 +146,7 @@
|
|
146
146
|
$("input[name=key]").focus();
|
147
147
|
$("#data").on("click", "tbody td", function(){
|
148
148
|
var $t = $(this),
|
149
|
-
key = $t.parent("tr").find("
|
149
|
+
key = $t.parent("tr").find(".key").text();
|
150
150
|
|
151
151
|
if($t.hasClass("truncated")){
|
152
152
|
$.get(<%= url("/").inspect %>+key, function(value){
|
metadata
CHANGED