Skip to content

Commit

Permalink
Merge pull request #80 from show-karma/discourse-3.2.x
Browse files Browse the repository at this point in the history
Discourse 3.2.x
  • Loading branch information
andremury authored Jan 8, 2024
2 parents 2516f10 + 23742d2 commit 3b7ef2f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions assets/javascripts/initializers/karma-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function bootstrap(_, ctx) {

window.selectedDao = DAO_names.split(',')?.[0];

function release(wrapperId = "#__karma-stats") {
function release(wrapperId = "#__karma-stats-summary") {
let showing = false;
const karmaStats = () => {
const elTrg = $(wrapperId);
Expand Down Expand Up @@ -39,7 +39,7 @@ export default {

async initialize(container) {
// eslint-disable-next-line no-console
console.info("Karma Score (v1.4.0-beta1)");
console.info("Karma Score (v1.4.1-beta1)");
const SiteSettings = container.lookup("site-settings:main");
if (SiteSettings.Enable_Karma_plugin) {
withPluginApi("0.8.7", bootstrap, { SiteSettings, container });
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "karma-stats",
"version": "1.4.0-beta1",
"version": "1.4.1-beta1",
"repository": "https://github.com/show-karma/discourse-plugin",
"author": "Karma",
"license": "MIT",
Expand Down
5 changes: 2 additions & 3 deletions plugin.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# frozen_string_literal: true
# transpile_js: true

# name: Karma
# name: karma-score
# about: Show karma stats onto the user's profile
# version: 1.0.2
# version: 1.4.1
# authors: Karma
# url: https://github.com/show-karma/discourse-plugin
# required_version: 2.8.7

enabled_site_setting :Enable_Karma_plugin

Expand Down

0 comments on commit 3b7ef2f

Please sign in to comment.