events: {\r
'change [data-setting]': 'saveSettings',\r
'click [data-setting="theme"]': 'selectTheme',\r
- 'click .registerProtocol': 'registerProtocol'\r
+ 'click .register_protocol': 'registerProtocol'\r
},\r
\r
initialize: function (options) {\r
this.$el = $($('#tmpl_applet_settings').html().trim());\r
\r
if (!navigator.registerProtocolHandler) {\r
- this.$el.find('.protoHandler').remove();\r
+ this.$el.find('.protocol_handler').remove();\r
}\r
\r
// Incase any settings change while we have this open, update them\r
</div>\r
</section>\r
\r
- <section class="protoHandler">\r
+ <section class="protocol_handler">\r
<h6>irc: protocol hander</h6>\r
<div class="control-group">\r
- <button class="registerProtocol">Register protocol handler</button>\r
+ <button class="register_protocol">Register protocol handler</button>\r
<br>\r
<span>Allow Kiwi IRC to handle irc: links <small>(Example: <a href="irc:irc.example.com:6667/irchelp">irc:irc.example.com:6667/irchelp</a>)</small></span>\r
</div>\r