Permalink
Browse files

Replaced deprecated jQuery method load() with on('load'...)

  • Loading branch information...
adiherzog committed Dec 1, 2016
1 parent fc4a3c3 commit 141d34b7b9d6080cdf37f2d607d5d2a288e41ef7
Showing with 1 addition and 1 deletion.
  1. +1 −1 scenarioo-client/app/step/screenAnnotations/annotatedScreenshot.directive.js
@@ -48,7 +48,7 @@ function annotatedScreenshot() {
var imageElement = element.find('img.sc-screenshot');
$(imageElement).load(updateImageScalingRatio);
$(imageElement).on('load', updateImageScalingRatio);
$(window).resize(updateImageScalingRatio);

0 comments on commit 141d34b

Please sign in to comment.