Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- fixed caret bug for link to page button

  • Loading branch information...
commit a3d28dfe80191f9fbf5fa94bbf9bbab7a0e26aa2 1 parent 6a67fac
Niels van Dijk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 fiber/static/fiber/js/fiber.markitup.js
View
4 fiber/static/fiber/js/fiber.markitup.js
@@ -6,8 +6,8 @@ Fiber.enhance_textarea = function(textarea) {
var header = $textarea.parent('.markItUpContainer').find('.markItUpHeader');
header.find('li.select_page a').click(function() {
- // Restore textarea selection.
- $textarea.caret(caret);
+ // Save selection in textarea. This is necessary for ie.
+ var caret = $textarea.caret();
var page_select_dialog = new Fiber.PageSelectDialog();
page_select_dialog.action_click = function() {
Please sign in to comment.
Something went wrong with that request. Please try again.