Skip to content

Commit

Permalink
Añadido autocomplete=off
Browse files Browse the repository at this point in the history
  • Loading branch information
Kukident committed Jul 23, 2017
1 parent 8193569 commit 5d3eb07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions js/myscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ chrome.storage.sync.get(['banwords', 'banusers','options'], function(data) {
var user = $(this).parent().next().text().trim().toLowerCase()
// console.log(palabras)
// console.log(expreg)
if (texto.match(expreg) != null || user.match(expreg_users)){
if (texto.match(expreg) != null || user.match(expreg_users != null)){
if (options["ocultar"] == true || options["oscurecer"] == true){
$(this).closest("tr").css("opacity" ,0.2)
}
Expand All @@ -53,7 +53,6 @@ chrome.storage.sync.get(['banwords', 'banusers','options'], function(data) {
});
$(".cmega2").append("<br><span class='smallfont'>Se han ocultado "+hilos_ocultados+" hilos</span>")


$("#stickies_collapse").before('<td class="vbmenu_control" id="hide_collapse" nowrap="nowrap"> \
<a href=""> \
Hilos Ocultos \
Expand Down
4 changes: 2 additions & 2 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
<div class="col-lg-12">
<div class="row">
<form id="banwords">
<form id="banwords" autocomplete="off">
<div class="col-xs-9">
<div class="form-group label-floating">
<label class="control-label" for="focusedInput">Ocultar hilos por palabras</label>
Expand All @@ -51,7 +51,7 @@
</form>
</div>
<div class="row">
<form id="banusers">
<form id="banusers" autocomplete="off">
<div class="col-xs-9">
<div class="form-group label-floating">
<label class="control-label" for="focusedInput2">Ocultar hilos por usuario</label>
Expand Down

0 comments on commit 5d3eb07

Please sign in to comment.