Skip to content

Commit

Permalink
[#665] minor refactor: don't use ids in CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
afuna committed Sep 12, 2014
1 parent acc8dc2 commit 61c4553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/js/pages/entry/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var postForm = (function($) {
.change(updatePreview)
.change(updatePreviewText)
.closest(".columns")
.after("<div id='js-moodpreview'>"
.after("<div id='js-moodpreview' class='moodpreview'>"
+ "<div class='moodpreview-text'></div>"
+ "<div class='moodpreview-image'></div>"
+ "</div>");
Expand Down
2 changes: 1 addition & 1 deletion htdocs/scss/pages/entry/new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
}

/* Currents */
#js-moodpreview {
.moodpreview {
text-align: center;

.moodpreview-image {
Expand Down

0 comments on commit 61c4553

Please sign in to comment.