Merge "Remove default event handler from theme switch links"
This commit is contained in:
commit
59c3d7bfe3
@ -27,6 +27,10 @@
|
||||
$(document).on('click', '.theme-picker-item', function(e) {
|
||||
var $this = $(this);
|
||||
|
||||
// prevent the default <a> click handler from firing - on
|
||||
// Chrome it confuses the reload() we do below
|
||||
e.preventDefault();
|
||||
|
||||
if($this.hasClass('disabled')) {
|
||||
e.stopPropagation();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user