Skip to content

Commit 1594a13

Browse files
committed
fix for new evernote site layout
1 parent 07c1189 commit 1594a13

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

js/expander.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jQuery.noConflict();
5252
, SELECTOR_GTT_EDIT = 'div.goog-splitpane-second-container' // GTT editor
5353
, SELECTOR_MAILCHIMP_EDIT = 'iframe.cke_wysiwyg_frame' // Mailchimp web editor
5454
, SELECTOR_OUTLOOK_EDIT = '#ComposeRteEditor_surface' // Outlook web editor
55-
, SELECTOR_EVERNOTE_EDIT = 'gwt-debug-noteEditor' // Evernote web note editor
55+
, SELECTOR_EVERNOTE_EDIT = 'gwt-debug-NoteContentEditorView-root' // Evernote web note editor
5656
, SELECTOR_BASECAMP_EDIT = 'iframe.wysihtml5-sandbox' // Basecamp message editor
5757
, SELECTOR_ATLASSIAN_EDIT = 'iframe#wysiwygTextarea_ifr' // Confluence editor
5858
;
@@ -900,15 +900,6 @@ jQuery.noConflict();
900900
// Special cases
901901
var domain = $iframe.contents().get(0).location.host;
902902
debugLog('iframe location:', domain);
903-
904-
// Special Evernote case
905-
if (EVERNOTE_DOMAIN_REGEX.test(domain))
906-
{
907-
$iframe.contents().find(SELECTOR_EDITABLE_BODY)
908-
.on(EVENT_NAME_KEYPRESS, keyPressHandler);
909-
$iframe.contents().find(SELECTOR_EDITABLE_BODY)
910-
.on(EVENT_NAME_KEYUP, keyUpHandler);
911-
}
912903
}
913904
else
914905
{

0 commit comments

Comments
 (0)