Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
4ba955be
Commit
4ba955be
authored
19 years ago
by
mgalli%geckonnection.com
Browse files
Options
Downloads
Patches
Plain Diff
Removed the workaround - listener stuff to the menus. :)
parent
42b7fe88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
minimo/chrome/content/minimo.js
+0
-8
0 additions, 8 deletions
minimo/chrome/content/minimo.js
minimo/chrome/content/minimo.xul
+1
-3
1 addition, 3 deletions
minimo/chrome/content/minimo.xul
with
1 addition
and
11 deletions
minimo/chrome/content/minimo.js
+
0
−
8
View file @
4ba955be
...
...
@@ -200,14 +200,6 @@ function MiniNavStartup()
gSelectedTab
=
currentTab
;
loadURI
(
"
http://www.google.com/
"
);
//
// this is temporary til we get menu tminig events stuff fixed.
// https://bugzilla.mozilla.org/show_bug.cgi?id=303934
//
document
.
getElementById
(
"
command_BrowserOpenTab
"
).
addEventListener
(
"
mousedown
"
,
BrowserOpenTab
,
false
);
document
.
getElementById
(
"
command_BrowserOpenInfo
"
).
addEventListener
(
"
mousedown
"
,
BrowserOpenInfo
,
false
);
document
.
getElementById
(
"
command_BrowserTestDialogs
"
).
addEventListener
(
"
mousedown
"
,
BrowserTestDialogs
,
false
);
document
.
getElementById
(
"
command_BrowserTestSendSMS
"
).
addEventListener
(
"
mousedown
"
,
BrowserTestSendSMS
,
false
);
}
...
...
This diff is collapsed.
Click to expand it.
minimo/chrome/content/minimo.xul
+
1
−
3
View file @
4ba955be
...
...
@@ -81,9 +81,7 @@
<menuitem
id=
"menu_close"
/>
<menuitem
id=
"menu_closeWindow"
command=
"cmd_closeWindow"
key=
"key_closeWindow"
label=
"about"
/>
<menuitem
id=
"command_BrowserOpenTab"
label=
"new Tab"
/>
<!-- this only works with keyboard/ oncommand approach, if we use the workaroung (onmousedown),
the menu disappears -->
<menuitem
id=
"command_BrowserOpenTab"
command=
"cmd_BrowserOpenTab"
label=
"new Tab"
/>
<menu
id=
"menu-zoom"
label=
"Text zoom"
>
<menupopup
>
<menuitem
id=
""
oncommand=
"BrowserResetZoomPlus()"
label=
"ZOOM + "
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment