Skip to content

Commit

Permalink
FIX: tiles style not being removed on entering Category
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Jan 30, 2024
1 parent a297871 commit 0a8582d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions javascripts/discourse/initializers/preview-edits.js.es6
Expand Up @@ -191,8 +191,6 @@ export default {
this.set("hasThumbnail", (this.get("thumbnails") || settings.topic_list_default_thumbnail) && this.get("showThumbnail"));
this._setUpColour();
if (this.get("tilesStyle")) {
// needs 'div's for masonry
this.set("tagName", "div");
this.set("classNames", this.classNames.concat("tiles-grid-item"));
if (settings.topic_list_tiles_larger_featured_tiles && topic.tags) {
if (
Expand Down

0 comments on commit 0a8582d

Please sign in to comment.