瀏覽代碼

Name instead of id for engage button

Amauri CHAMPEAUX 10 年之前
父節點
當前提交
e64fdc88ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tarteaucitron.js

+ 1 - 1
tarteaucitron.js

@@ -600,7 +600,7 @@ var tarteaucitron = {
                 
         html += '<div class="tac_activate">';
         html += '   <div class="tac_float">';
-        html += '      <b>' + id + '</b> ' + tarteaucitron.lang.fallback + '<br/>';
+        html += '      <b>' + tarteaucitron.services[id].name + '</b> ' + tarteaucitron.lang.fallback + '<br/>';
         html += '      <div class="tarteaucitronAllow" id="Eng' + r + 'ed' + id + '" onclick="tarteaucitron.userInterface.respond(this, true);">';
         html += '          ' + tarteaucitron.lang.allow;
         html += '       </div>';