Skip to content

Commit

Permalink
Fix incorrect teardown class names, more targeted CSS cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
i-like-robots committed Oct 31, 2013
1 parent 53fb789 commit 397b503
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ https://github.com/i-like-robots/EasyZoom/issues

## Versioning

The current version is `2.0.0`. Releases will be numbered in following format:
The current version is `2.0.1`. Releases will be numbered in following format:

`<major>.<minor>.<patch>`

Expand Down
6 changes: 3 additions & 3 deletions css/easyzoom.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
vertical-align: bottom;
}

.easyzoom.is-loading {
.easyzoom.is-loading img {
cursor: progress;
}

.easyzoom.is-ready {
.easyzoom.is-ready img {
cursor: crosshair;
}

.easyzoom.is-error {
.easyzoom.is-error img {
cursor: not-allowed;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/easyzoom.js

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

4 changes: 2 additions & 2 deletions easyzoom.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EasyZoom",
"version": "2.0.0",
"name": "jquery-easyzoom",
"version": "2.0.1",
"title": "EasyZoom, jQuery image zoom plugin",
"description": "EasyZoom is an elegant, highly optimised jQuery image zoom and panning plugin based on the original work by Alen Grakalic. EasyZoom supports touch-enabled devices and is easily customisable with CSS.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EasyZoom",
"version": "2.0.0",
"version": "2.0.1",
"devDependencies": {
"grunt": "0.4.x",
"grunt-contrib-jshint": "0.1.x",
Expand Down
4 changes: 2 additions & 2 deletions src/easyzoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
loadingNotice: 'Loading image',

// The text to display within the notice box if an error occurs loading the zoom image.
errorNotice: 'The image could not be loaded',
errorNotice: 'The image could not be loaded',

// Prevent clicks on the zoom image link.
preventClicks: true,
Expand Down Expand Up @@ -207,7 +207,7 @@
EasyZoom.prototype.teardown = function() {
this.hide();

this.$target.removeClass('is-loading isready is-error').off('.easyzoom');
this.$target.removeClass('is-loading is-ready is-error').off('.easyzoom');

delete this.$link;
delete this.$zoom;
Expand Down

0 comments on commit 397b503

Please sign in to comment.