Browse Source

Rename 'context_menu' variable to 'torrents_table_context_menu'

adaptive-webui-19844
buinsky 9 years ago
parent
commit
1e3a57ad92
  1. 4
      src/webui/www/public/transferlist.html

4
src/webui/www/public/transferlist.html

@ -9,7 +9,7 @@
<script type="text/javascript"> <script type="text/javascript">
//create a context menu //create a context menu
var context_menu = new ContextMenu({ var torrents_table_context_menu = new ContextMenu({
targets : '.menu-target', targets : '.menu-target',
menu : 'contextmenu', menu : 'contextmenu',
actions : { actions : {
@ -62,5 +62,5 @@
} }
}); });
torrentsTable.setup('torrentsTable', 'torrentsTableHeader', context_menu); torrentsTable.setup('torrentsTable', 'torrentsTableHeader', torrents_table_context_menu);
</script> </script>

Loading…
Cancel
Save