Skip to content

Commit 51a22c2

Browse files
committed
class for the pixelping img tag
Allows for users who embed a document to style around bugs with our the pixel interacts with their base template.
1 parent f35c951 commit 51a22c2

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="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)