Skip to content

Commit d0bc2bd

Browse files
authored
Fix button appearance (#184)
* Fix button appearance Now buttons appear as the default GH * Update github-rtl-comments.user.js changed back to button
1 parent 4e0516f commit d0bc2bd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

github-rtl-comments.user.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name GitHub RTL Comments
3-
// @version 1.3.3
3+
// @version 1.3.4
44
// @description A userscript that adds a button to insert RTL text blocks in comments
55
// @license MIT
66
// @author Rob Garrison
@@ -19,7 +19,6 @@
1919
// @downloadURL https://raw.githubusercontent.com/Mottie/GitHub-userscripts/master/github-rtl-comments.user.js
2020
// @supportURL https://github.com/Mottie/GitHub-userscripts/issues
2121
// ==/UserScript==
22-
/* global GM */
2322
(() => {
2423
"use strict";
2524

@@ -57,7 +56,7 @@
5756
if (indx) {
5857
button = document.createElement("button");
5958
button.type = "button";
60-
button.className = "ghu-rtl toolbar-item tooltipped tooltipped-n";
59+
button.className = "btn-octicon ghu-rtl toolbar-item tooltipped tooltipped-n";
6160
button.setAttribute("aria-label", "RTL");
6261
button.setAttribute("tabindex", "-1");
6362
button.innerHTML = icon;

0 commit comments

Comments
 (0)