@lemonadejs/cropper 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cropper.js +3 -2
  2. package/package.json +1 -1
package/dist/cropper.js CHANGED
@@ -192,12 +192,14 @@
192
192
  }
193
193
 
194
194
  photoContainer.content = [data];
195
+
196
+ // Classes
195
197
  }
196
198
  }
197
199
 
198
200
  // Template
199
201
  var template = `
200
- <div @ref='self.image'></div>
202
+ <div @ref='self.image' class="jphoto"></div>
201
203
  <div @ready='self.createModal(this)'>
202
204
  <div @ready='self.createCropper(this)' @ref='self.cropperArea'></div>
203
205
  <div @ref='self.controls'>
@@ -255,7 +257,6 @@
255
257
  }
256
258
 
257
259
  // Onclick event
258
- photoContainer.classList.add('jupload');
259
260
  photoContainer.onmousedown = function(e) {
260
261
  if (! modal.isOpen()) {
261
262
  // Open modal
package/package.json CHANGED
@@ -19,5 +19,5 @@
19
19
  "@jsuites/cropper": "^1.5.1"
20
20
  },
21
21
  "main": "dist/cropper.js",
22
- "version": "1.2.2"
22
+ "version": "1.3.0"
23
23
  }