Ticket #21398: 0004-fixup-Simplify-the-code-enabling-the-tooltips.patch

File 0004-fixup-Simplify-the-code-enabling-the-tooltips.patch, 1000 bytes (added by cypherpunks, 3 years ago)
  • templates/details/bridge.html

    From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
    From: cypherpunks <cypherpunks@torproject.org>
    Date: Wed, 8 Feb 2017 00:23:43 +0000
    Subject: [PATCH 4/4] fixup! Simplify the code enabling the tooltips
    
    ---
     templates/details/bridge.html | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/templates/details/bridge.html b/templates/details/bridge.html
    index d06cd21..abfb497 100644
    a b  
    4444
    4545    <dt><span class="tip" title="Flags that the directory authorities assigned to this bridge." data-original-title="Bridge flags">Flags</span></dt>
    4646    <dd><% _.each(relay.get('flags'), function(flag) { %>
    47     <span class="flags" title="<%= flag[0] %><br /><%= flag[2] %>">
     47    <span class="tip flags" title="<%= flag[0] %><br /><%= flag[2] %>">
    4848        <img class="inline" alt="" src="img/flags/<%= flag[1] %>.png"/>
    4949        <span class="inline"><%= flag[0] %></span>
    5050    </span>