Comments (3)
@hemkaran - Are you able to share the code you used to fix the issue?
from unveil.
I have changed "retina" variable assignment to.
retina = isRetina();
function isRetina() {
var query = '(-webkit-min-device-pixel-ratio: 1.5),
(min--moz-device-pixel-ratio: 1.5),
(-o-min-device-pixel-ratio: 3/2),
(min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi),
(min-resolution: 1.5dppx)';
if (window.devicePixelRatio > 1 || (window.matchMedia && window.matchMedia(query).matches)) {
return true;
}
return false;
}
from unveil.
@hemkaran - nice thanks!
from unveil.
Related Issues (20)
- jQuery 1.8+ : Update doc for the callback example HOT 1
- the same img won't cached ?
- loading images using CSS class
- On/Off Unveil
- How to check if all images are loaded HOT 1
- Is it possible to use unveil.js for horizontal scrolling? HOT 1
- Spinner + Ease-in transition
- Fix for scrolling fast to the bottom of the page
- $(this).load(function() HOT 2
- Demo img broken HOT 1
- content reloading issue with iPhone6 and iPhone6 Plus
- When refreshing from halfway down page, unveil doesn't reveal unless page is scrolled up HOT 2
- Non Body Scroll doesn't load. HOT 4
- Question: svg image tags
- [Bug] Unveil.js remove http or https from url HOT 1
- sometimes the images aren't loaded and browser shows error icon until the page is scrolled HOT 4
- Picture element + different formats HOT 1
- How to use unveil with background images in the div with style tags?
- https://www.google.com/search?client=safari&hl=en-US&sxsrf=AOaemvIGDwXYs7FLguEK26G0s1p0xiRvQw:1637725269722&q=%3Cscript%3E+var+myrawlazy+%3D+new+lazy+loading();+of+(!myrawlazy.supports+observer+%26%26+typeof+jquery+!%3D%3D+%27undefined%27+%26%26+typeof+jquery(document).ready+%3D%3D%3D+%27function%27)+%7B+jquery(document).ready(function+()&spell=1&sa=X&ved=2ahUKEwjzlsOHirD0AhXWHDQIHdBEDbsQBSgAegQIARAF&biw=375&bih=553&dpr=2
- Hello/world
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 unveil.