From: Jack Allnutt Date: Fri, 28 Jun 2013 22:43:58 +0000 (+0100) Subject: use snake_case instead of camelCase for class names in settings applet X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9264ef748e2c42006c243a013203fd16412ede6b;p=KiwiIRC.git use snake_case instead of camelCase for class names in settings applet --- diff --git a/client/assets/src/applets/settings.js b/client/assets/src/applets/settings.js index 16fc882..0679527 100644 --- a/client/assets/src/applets/settings.js +++ b/client/assets/src/applets/settings.js @@ -3,14 +3,14 @@ events: { 'change [data-setting]': 'saveSettings', 'click [data-setting="theme"]': 'selectTheme', - 'click .registerProtocol': 'registerProtocol' + 'click .register_protocol': 'registerProtocol' }, initialize: function (options) { this.$el = $($('#tmpl_applet_settings').html().trim()); if (!navigator.registerProtocolHandler) { - this.$el.find('.protoHandler').remove(); + this.$el.find('.protocol_handler').remove(); } // Incase any settings change while we have this open, update them diff --git a/client/assets/src/index.html.tmpl b/client/assets/src/index.html.tmpl index fa96a76..72d3c0c 100644 --- a/client/assets/src/index.html.tmpl +++ b/client/assets/src/index.html.tmpl @@ -245,10 +245,10 @@ -
+
irc: protocol hander
- +
Allow Kiwi IRC to handle irc: links (Example: irc:irc.example.com:6667/irchelp)