Skip to content

Commit

Permalink
FIX Adblock page by changing when editable table is initiated (didn't…
Browse files Browse the repository at this point in the history
… work before)
  • Loading branch information
Jackysi committed Jul 7, 2016
1 parent 670b1c2 commit 5595ad5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions advanced-adblock.asp
Expand Up @@ -96,12 +96,14 @@
form.submit( fom, 1 );
}
$( document ).ready( function() {
// Initiate on full window load
$( window ).on( 'load', function() {
adblockg.recolor();
verifyFields( null, 1 );
} );
});
</script>

<form id="_fom" method="post" action="tomato.cgi">
Expand All @@ -118,12 +120,10 @@

<div class="adblock-setting"></div><hr><br>
<script type="text/javascript">
$( '.adblock-setting' ).forms(
[
$( '.adblock-setting' ).forms([
{ title: 'Enable', name: 'f_adblock_enable', type: 'checkbox', value: nvram.adblock_enable != '0' },
{ title: 'Debug Mode', indent: 2, name: 'f_dnsmasq_debug', type: 'checkbox', value: nvram.dnsmasq_debug == '1' }
]
);
]);
</script>

<h4>Blacklists</h4>
Expand Down

0 comments on commit 5595ad5

Please sign in to comment.