Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slideout: Converted space from v3.0 to i18n interword space.
- Loading branch information
Paul Jackson
authored and
Paul Jackson
committed
Sep 20, 2013
1 parent
2ea5703
commit fcdd5e4
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,9 @@ | |
var borderWidth = 10, | ||
tocText = _pe.dic.get('%table-contents'), | ||
hideText = _pe.dic.get('%hide'), | ||
closeLink = hideText + '<span class="wb-invisible"> ' + tocText + '</span>', | ||
space = _pe.dic.get('%interword-space'), | ||
%interword-space | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
pjackson28
Member
|
||
closeLink = hideText + '<span class="wb-invisible">' + space + tocText + '</span>', | ||
focusOutlineAllowance = 2, | ||
opened = false, | ||
reposition, | ||
|
@@ -302,7 +304,7 @@ | |
slideoutClose = elm.find('#slideoutClose'); | ||
|
||
// Add the slideout toggle | ||
innerWrapper.css('padding', (focusOutlineAllowance / 2) + 'px').prepend('<div id="slideoutToggle" class="slideoutToggle"><a id="toggleLink" role="button" aria-controls="slideout-body" aria-label="' + opts.txtShow + '" href="#" onclick="return false;">' + opts.txtShow + '</a></div>'); | ||
innerWrapper.css('padding', (focusOutlineAllowance / 2) + 'px').prepend('<div id="slideoutToggle" class="slideoutToggle"><a id="toggleLink" role="button" aria-controls="slideout-body" href="#" onclick="return false;">' + opts.txtShow + '</a></div>'); | ||
tab = innerWrapper.find('#slideoutToggle'); | ||
toggleLink = innerWrapper.find('#toggleLink'); | ||
|
||
|
Missing comma