Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

back button returns to app from screenshots view (bug 972513) #370

Closed
wants to merge 2 commits into from

Conversation

mstriemer
Copy link
Contributor

https://bugzilla.mozilla.org/show_bug.cgi?id=972513

I spent a good amount of time trying to get the screenshots to be a proper view and linkable. I would still prefer that but the composite view (app detail view with screenshots layered on top) and the current lightbox.js implementation (pulling data from the DOM and doing all the work) made this quite difficult. Setting the hash works as expected.

@mstriemer
Copy link
Contributor Author

This actually makes you hit back twice if you close the lightbox with the x and want to go back, fixing.

@@ -41,6 +41,10 @@ define('lightbox',
renderPreviews();
}

// set an anchor so the back button closes the lightbox instead of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cap + period on the comments

@ngokevin
Copy link
Contributor

r+wc and squash the commits, nice bug

@mstriemer mstriemer closed this in ef1c202 Feb 25, 2014
@mstriemer mstriemer deleted the screenshots-anchor branch February 25, 2014 00:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants