Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bug 826394 - Don't show videos in gallery picker #7328

Merged
merged 1 commit into from

2 participants

@ttaubert
Collaborator

No description provided.

@daleharvey daleharvey merged commit 550e477 into mozilla-b2g:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 7, 2013
  1. @ttaubert
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  apps/gallery/js/gallery.js
View
2  apps/gallery/js/gallery.js
@@ -114,6 +114,8 @@ var visibilityMonitor;
// The localized event is the main entry point for the app.
// We don't do anything until we receive it.
window.addEventListener('localized', function showBody() {
+ window.removeEventListener('localized', showBody);
+
// Set the 'lang' and 'dir' attributes to <html> when the page is translated
document.documentElement.lang = navigator.mozL10n.language.code;
document.documentElement.dir = navigator.mozL10n.language.direction;
Something went wrong with that request. Please try again.