Permalink
Browse files

Deleted some redundant code for the help and feedback buttons (now mo…

…ved to the sidebar).
  • Loading branch information...
1 parent e6aa01a commit a338750cdd79c1f618ef40ac521c740aeb5f5752 @gaurav gaurav committed May 10, 2012
Showing with 0 additions and 19 deletions.
  1. +0 −19 app/js/mol.map.menu.js
View
@@ -35,22 +35,6 @@ mol.modules.map.menu = function(mol) {
}
);
- this.display.helpButton.click(
- function(Event) {
- self.bus.fireEvent(
- new mol.bus.Event('help-display-dialog')
- );
- }
- );
-
- this.display.feedbackButton.click(
- function(Event) {
- self.bus.fireEvent(
- new mol.bus.Event('feedback-display-toggle')
- );
- }
- );
-
this.display.searchItem.click(
function(event) {
self.bus.fireEvent(
@@ -145,9 +129,6 @@ mol.modules.map.menu = function(mol) {
this.dashboardItem = $(this).find('#dashboard');
this.speciesListItem = $(this).find('#list');
this.layersToggle = $(this).find('.layersToggle');
- this.helpButton = $(this).find('#help');
-
- this.feedbackButton = $('#mol_feedback');
}
}
);

0 comments on commit a338750

Please sign in to comment.