Remove unused parameter event.
This commit is contained in:
parent
e083223cfc
commit
412d324352
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
||||||
<span><button class="refresh_button button_with_spinner" onclick="refresh_all_channels_form(true)">Refresh everything</button></span>
|
<span><button class="refresh_button button_with_spinner" onclick="refresh_all_channels_form(true)">Refresh everything</button></span>
|
||||||
<div>
|
<div>
|
||||||
<input type="text" id="new_channel_textbox">
|
<input type="text" id="new_channel_textbox">
|
||||||
<button id="new_channel_button" class="button_with_spinner" onclick="add_channel_form(event)">Add new channel</button>
|
<button id="new_channel_button" class="button_with_spinner" onclick="add_channel_form()">Add new channel</button>
|
||||||
</div>
|
</div>
|
||||||
{% for channel in channels %}
|
{% for channel in channels %}
|
||||||
{% if channel.has_pending() %}
|
{% if channel.has_pending() %}
|
||||||
|
@ -77,7 +77,7 @@ var box = document.getElementById('new_channel_textbox');
|
||||||
var button = document.getElementById('new_channel_button');
|
var button = document.getElementById('new_channel_button');
|
||||||
common.bind_box_to_button(box, button);
|
common.bind_box_to_button(box, button);
|
||||||
|
|
||||||
function add_channel_form(event)
|
function add_channel_form()
|
||||||
{
|
{
|
||||||
if (box.value !== "")
|
if (box.value !== "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue