Skip to content
Browse files

- change bigWrapper background to prevent request new url

- v1.8.2
  • Loading branch information...
1 parent c34946f commit 99b66b6c30cc84d2cb7b0a4d7fb36e40e63ab619 @creaven committed Sep 10, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 Source/Zoomer.js
  2. +1 −1 package.yml
View
4 Source/Zoomer.js
@@ -20,7 +20,7 @@ var Zoomer = function(element, options){
Zoomer.prototype = {
- version: '1.8.1',
+ version: '1.8.2',
initialize: function(element, options){
var dflt = {
@@ -119,7 +119,7 @@ Zoomer.prototype = {
left: this.small.offset().left - this.wrapper.offset().left - parseInt(this.wrapper.css('border-left-width'), 10) || 0,
width: this.small[0].offsetWidth,
height: this.small[0].offsetHeight,
- background: 'url(_)'
+ background: 'url("' + this.small.attr('src') + '")'
}).mouseenter($.proxy(this.startZoom, this))
.mouseleave($.proxy(this.stopZoom, this))
.mousemove($.proxy(this.move, this));
View
2 package.yml
@@ -21,6 +21,6 @@ sources:
demo: http://mifjs.net/misc/zoomer-jq/
-current: 1.8.1
+current: 1.8.2

0 comments on commit 99b66b6

Please sign in to comment.
Something went wrong with that request. Please try again.