Permalink
Browse files

fix a typo in tooltip.js

  • Loading branch information...
1 parent fa97f31 commit 1d1150131dacecc9f4d9eb3cdda9103ea1819045 @mihaisucan committed Jan 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bundles/org.eclipse.orion.client.editor/web/orion/textview/tooltip.js
@@ -192,7 +192,7 @@ define("orion/textview/tooltip", ['orion/textview/textView', 'orion/textview/tex
annotation = annotations[0];
if (annotation.title) {
title = annotation.title.replace(/</g, "&lt;").replace(/>/g, "&gt;");
- return "<div>" + annotation.html + "&nbsp;<span style='vertical-align:mddle;'>" + title + "</span><div>";
+ return "<div>" + annotation.html + "&nbsp;<span style='vertical-align:middle;'>" + title + "</span><div>";
} else {
var newModel = new mProjectionTextModel.ProjectionTextModel(baseModel);
var lineStart = baseModel.getLineStart(baseModel.getLineAtOffset(annotation.start));
@@ -209,7 +209,7 @@ define("orion/textview/tooltip", ['orion/textview/textView', 'orion/textview/tex
title = getText(annotation.start, annotation.end);
}
title = title.replace(/</g, "&lt;").replace(/>/g, "&gt;");
- tooltipHTML += "<div>" + annotation.html + "&nbsp;<span style='vertical-align:mddle;'>" + title + "</span><div>";
+ tooltipHTML += "<div>" + annotation.html + "&nbsp;<span style='vertical-align:middle;'>" + title + "</span><div>";
}
return tooltipHTML;
}

0 comments on commit 1d11501

Please sign in to comment.