ep_author_hover 11.0.10 → 11.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ name: Dependabot Automerge
2
+ permissions:
3
+ contents: write
4
+ pull-requests: write
5
+ on:
6
+ workflow_run:
7
+ workflows:
8
+ - Node.js Package
9
+ types:
10
+ - completed
11
+
12
+ jobs:
13
+ automerge:
14
+ if: >
15
+ github.event.workflow_run.conclusion == 'success' &&
16
+ github.event.workflow_run.event == 'pull_request' &&
17
+ github.event.workflow_run.actor.login == 'dependabot[bot]'
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v6
22
+
23
+ - name: Automerge
24
+ uses: "pascalgn/automerge-action@v0.16.4"
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
+ MERGE_METHOD: squash
28
+ MERGE_LABELS: ""
29
+ MERGE_RETRY_SLEEP: "100000"
30
+
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "ep_author_hover",
8
8
  "description": "Adds author names to span titles (shows on hover), works as authors change their name. Hover includes author color and fast switching between author spans. Hat tip to Martyn York for the initial work on this.",
9
- "version": "11.0.10",
9
+ "version": "11.0.12",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/ether/ep_author_hover.git"
@@ -137,10 +137,10 @@ exports.postAceInit = (hookName, context) => {
137
137
  /* init */
138
138
  if (padcookie.getPref('author-hover') === false) {
139
139
  $('#options-author-hover').val();
140
- $('#options-author-hover').attr('checked', 'unchecked');
141
- $('#options-author-hover').attr('checked', false);
140
+ $('#options-author-hover').prop('checked', false);
141
+ $('#options-author-hover').prop('checked', false);
142
142
  } else {
143
- $('#options-author-hover').attr('checked', 'checked');
143
+ $('#options-author-hover').prop('checked', true);
144
144
  }
145
145
 
146
146
  clientVars.plugins.plugins.ep_author_hover.enabled = !!$('#options-author-hover').is(':checked');