Skip to content

Commit d5a508e

Browse files
committed
fix(main.js): Fix for textAngular#862 where the model was not changing after image resize.
1 parent 12a9798 commit d5a508e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ textAngular.directive("textAngular", [
243243
event.stopPropagation();
244244
_body.off('mousemove', mousemove);
245245
scope.showPopover(_el);
246+
// at this point, we need to force the model to update! since the css has changed!
247+
// this fixes bug: #862
248+
scope.updateTaBindtaTextElement();
246249
});
247250
event.stopPropagation();
248251
event.preventDefault();

0 commit comments

Comments
 (0)