},\r
\r
selectTheme: function(event) {\r
+ event.preventDefault();\r
+\r
$('[data-setting="theme"].active', this.$el).removeClass('active');\r
$(event.currentTarget).addClass('active').trigger('change');\r
- event.preventDefault();\r
},\r
\r
registerProtocol: function (event) {\r
+ event.preventDefault();\r
+\r
navigator.registerProtocolHandler('irc', document.location.origin + _kiwi.app.get('base_path') + '/%s', 'Kiwi IRC');\r
navigator.registerProtocolHandler('ircs', document.location.origin + _kiwi.app.get('base_path') + '/%s', 'Kiwi IRC');\r
},\r