allow for data attribute in annotation html (use case: display rounded value, store precise value)

This commit is contained in:
rolux 2014-12-21 13:53:29 +00:00
parent 1ff7846e71
commit 09796cd151

View file

@ -273,7 +273,7 @@ Ox.AnnotationFolder = function(options, self) {
return Ox.stripTags(value);
}
: null,
globalAttributes: ['lang'],
globalAttributes: ['data', 'lang'],
highlight: self.options.highlight,
placeholder: Ox._('Loading...'),
separator: ';',