Skip to content

Commit

Permalink
Don't load jquery UI scripts twice
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascube committed Apr 14, 2015
1 parent fa85771 commit ca8cfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/jqueryui/jqueryui.php
Expand Up @@ -23,7 +23,7 @@ public function init()
$rcmail = rcmail::get_instance();

// the plugin might have been force-loaded so do some sanity check first
if ($rcmail->output->type != 'html') {
if ($rcmail->output->type != 'html' || self::$ui_theme) {
return;
}

Expand Down

0 comments on commit ca8cfd8

Please sign in to comment.