Comments (4)
Hey! Yeah so your original code won't work for unmatch, because you've only defined a match function :)
As for your modified code, what you should be doing in unmatch is not reloading the page, but undoing everything you previously did in match.
Now sometimes the easiest way to do this is clone some part of the DOM in setup
and just reinstate it on unmatch. The reason being that sometimes it's more difficult than it's worth to undo stuff, it's easier to just replace it to how it was originally.
I'm not familiar with the kindle fire's browser, have never used it and I don't have a device to test it on. Try what I said above and let me know how you get on with that
from enquire.js.
Hey @pzula in the interest of keeping my issue list to a minimum I'm going to close this issue now. Please shout if you're still encountering issues.
Nick
from enquire.js.
Hey thanks, I rearranged things and got it to fire now!
from enquire.js.
Good to hear :-)
On 14 May 2013 00:39, "Persa" [email protected] wrote:
Hey thanks, I rearranged things and got it to fire now!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-17848286
.
from enquire.js.
Related Issues (20)
- Unit tests for registered media query callbacks. HOT 1
- Playing nice with Foundation 6 Framework HOT 2
- Enquire.js and Fullpage.js not playing nice HOT 2
- Only matched is fired, why? HOT 1
- Menu HOT 2
- Newest version on npm HOT 3
- matchMedia polyfill error HOT 2
- Can you please publish it with the distribution version on npm
- typescript definitions HOT 1
- Compilation warning (version 2.1.4) HOT 11
- matchMedia polyfill stopped working with latest release HOT 10
- Looking for maintainers HOT 4
- bower.json version mismatch HOT 2
- trigger when page loaded first time
- Error: matchMedia not present, legacy browsers require a polyfill HOT 1
- enquire is undefined HOT 6
- Enquire.js (on Shopify Debut Theme) Breaks Bootstrap Modal function HOT 1
- Not working in latest version of Edge on Windows 10
- How to enable enquire.js for a drupal project
- Inspired by Enquire.js
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enquire.js.