Rename 'context_menu' variable to 'torrents_table_context_menu'

This commit is contained in:
buinsky 2015-11-11 23:04:39 +03:00 committed by sledgehammer999
commit a4ff039abc

View file

@ -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>