From 209168adab63a3cf2d879b92d198a5d3485bfb97 Mon Sep 17 00:00:00 2001
From: TOW
Date: Mon, 1 Apr 2019 19:45:18 -0300
Subject: Shobon: Agregadas imagenes de Twitter
---
static/js/shobon.js | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
(limited to 'static/js')
diff --git a/static/js/shobon.js b/static/js/shobon.js
index 522dbe1..69b789a 100644
--- a/static/js/shobon.js
+++ b/static/js/shobon.js
@@ -82,7 +82,7 @@ function shobon() {
if(localStorage.getItem("shobon_navbar") == "true") {
fixedNav();
}
- // incluye imgur
+ // incluye imagenes
if(localStorage.getItem("shobon_embedimg") == "true") {
embedImg(reply);
}
@@ -244,7 +244,7 @@ function shobonSettings(e) {
p.appendChild(createCheckbox("shobon_on", "Activar extensión", true));
p.appendChild(createCheckbox("shobon_navbar", "Fijar barra superior", false));
p.appendChild(createCheckbox("shobon_ids", "Colorear IDs", true));
- p.appendChild(createCheckbox("shobon_embedimg", "Incluir imágenes de imgur", false));
+ p.appendChild(createCheckbox("shobon_embedimg", "Incluir imágenes miniatura", false));
p.appendChild(createCheckbox("shobon_newposts", "Destacar mensajes nuevos", false));
p.appendChild(createCheckbox("shobon_country", "Reemplazar códigos de país por nombres", false));
p.appendChild(createCheckbox("shobon_time", "Convertir fechas a hora local", true));
@@ -372,15 +372,18 @@ function paintIds(reply) {
function embedImg(reply) {
var links = reply.getElementsByTagName("a");
- for(i=0;i