Skip to content

Commit 4858720

Browse files
committed
Adding loadMore function to jquery.annotate.js
1 parent 152fad0 commit 4858720

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

js/jquery.annotate.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@
113113
}
114114
};
115115

116+
$.fn.annotateImage.loadMore = function(newNote) {
117+
/// <summary>
118+
/// Loads annotation from note parameter
119+
/// </summary>
120+
this.image.notes[newNote] = new $.fn.annotateView(this.image, newNote);
121+
};
122+
116123
$.fn.annotateImage.getTicks = function() {
117124
/// <summary>
118125
/// Gets a count og the ticks for the current date.

0 commit comments

Comments
 (0)