From b062ac09b9f700eae7bf5300d575026be5e8c3d3 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 2 Dec 2016 06:02:54 -0500
Subject: [PATCH] add irc shortcut to canvas, use spaces instead of tab

---
 pd/nw/index.js     | 2 +-
 pd/nw/pd_canvas.js | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pd/nw/index.js b/pd/nw/index.js
index b21cae3b0..d734d47f3 100644
--- a/pd/nw/index.js
+++ b/pd/nw/index.js
@@ -707,7 +707,7 @@ function nw_create_pd_window_menus(gui, w) {
     minit(m.help.irc, {
         click: function() {
             pdgui.external_doc_open("http://puredata.info/community/IRC");
-	}
+        }
     });
     minit(m.help.devtools, {
         click: function () {
diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js
index d0a4e8c6e..4df582c9c 100644
--- a/pd/nw/pd_canvas.js
+++ b/pd/nw/pd_canvas.js
@@ -1453,7 +1453,9 @@ function nw_create_patch_window_menus(gui, w, name) {
         }
     });
     minit(m.help.irc, {
-        click: menu_generic
+        click: function() {
+            pdgui.external_doc_open("http://puredata.info/community/IRC");
+        }
     });
     minit(m.help.devtools, {
         click: function () {
-- 
GitLab