Skip to content
Browse files

Don't trust :visible on Opera, refs #330

  • Loading branch information...
1 parent 188422c commit b1e1395ecdd4c9fa9c2120d2be671a772ac3407d @akzhan akzhan committed Jun 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 jquery.wysiwyg.js
View
3 jquery.wysiwyg.js
@@ -1402,9 +1402,10 @@ html: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.o
/**
* @link http://code.google.com/p/jwysiwyg/issues/detail?id=20
+ * @link https://github.com/akzhan/jwysiwyg/issues/330
*/
$(self.original).focus(function () {
- if ($(this).filter(":visible").length === 0) {
+ if ($(this).filter(":visible").length === 0 || $.browser.opera) {
return;
}
self.ui.focus();

0 comments on commit b1e1395

Please sign in to comment.
Something went wrong with that request. Please try again.