Skip to content

Commit ae69309

Browse files
committed
Merge pull request #35 from palewire/patch-1
CSS class for the pixelping img tag
2 parents f35c951 + 8962669 commit ae69309

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/javascripts/DV/controllers/document_viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ DV.DocumentViewer.prototype.recordHit = function(hitUrl) {
103103
url = url.replace(/[\/]+$/, '');
104104
var id = parseInt(this.api.getId(), 10);
105105
var key = encodeURIComponent('document:' + id + ':' + url);
106-
DV.jQuery(document.body).append('<img alt="" width="1" height="1" src="' + hitUrl + '?key=' + key + '" />');
106+
DV.jQuery(document.body).append('<img class="DV-pixelping" alt="" width="1" height="1" src="' + hitUrl + '?key=' + key + '" />');
107107
};
108108

109109
// jQuery object, scoped to this viewer's container.

0 commit comments

Comments
 (0)