var throttledSave = _.throttle(function() {
readerControl.saveAnnotations();
}, 5000, {
leading: false
});
am.on('annotationChanged', function(e) {
// check whether the annotation change is triggered because of an import (e.g. because of ImportAnnotations)
if (!e.imported) {
throttledSave();
}
});I pasted the throttled code in my config file as is and it doesn't work. It instead disabled all my webviewer customizations.
.popup-comment-container .replyButton:before {
color: green;
}
I pasted the throttled code in my config file as is and it doesn't work. It instead disabled all my webviewer customizations.
And what is the code so that I can change the comment reply arrow color on annotations?
And what is the code needed so that the right webviewer scroll bar can be disabled and instead be controlled by the main browser window scroll bar. Does that make sense? I attached an image to give you an idea of what I mean.
On Friday, January 9, 2015 at 11:01:10 AM UTC-6, Jack Brown wrote:
.popup-comment-container .replyButton:before').css('color', 'yellow');