posts: change #image-container, #note-container to classes.
Change #image-container and #note-container from IDs to classes. This is necessary so that we can use one container element for both the image container and the note container. This may break custom CSS and userscripts.
This commit is contained in:
@@ -116,8 +116,8 @@ ArtistCommentary.fill_commentary = function(commentary) {
|
||||
// If the new description conflicts with the current description, merge them
|
||||
// by appending the new description onto the old one.
|
||||
ArtistCommentary.merge_commentaries = function(description, commentary) {
|
||||
var post_source = $('#image-container').data().source;
|
||||
var normalized_source = $("#image-container").data().normalizedSource;
|
||||
var post_source = $('.image-container').data().source;
|
||||
var normalized_source = $(".image-container").data().normalizedSource;
|
||||
|
||||
if ((commentary.original_description && description) &&
|
||||
(commentary.original_description !== description)) {
|
||||
|
||||
Reference in New Issue
Block a user