Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
updated cookie so it sets the width again
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed May 24, 2011
1 parent 491c432 commit 206d9ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion responsiveimgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//record width cookie for subsequent loads
date = new Date();
date.setTime(date.getTime()+(5/*5 sec*/*1000));
doc.cookie = "rwd=y; expires=" + date.toGMTString() +"; path=/";
doc.cookie = "rwd-resolution=" + screen.width + ";expires=" + date.toGMTString() +"; path=/";

//if wideload is false quit now
if( !wideload ){
Expand Down
2 changes: 1 addition & 1 deletion responsiveimgs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 206d9ad

Please sign in to comment.