From 1d0fdd68f4e871e4ec5fbaa86809008d11ef2ded Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Thu, 18 Aug 2016 23:51:35 +0100 Subject: [PATCH] Formatting. --- AppKit/_CPImageAndTextView.j | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AppKit/_CPImageAndTextView.j b/AppKit/_CPImageAndTextView.j index 1a02755f5..f7efc1e34 100644 --- a/AppKit/_CPImageAndTextView.j +++ b/AppKit/_CPImageAndTextView.j @@ -550,14 +550,16 @@ var _CPimageAndTextViewFrameSizeChangedFlag = 1 << 0, case CPLineBreakByCharWrapping: case CPLineBreakByWordWrapping: textStyle.wordWrap = "break-word"; - try { + try + { textStyle.whiteSpace = "pre"; textStyle.whiteSpace = "-o-pre-wrap"; textStyle.whiteSpace = "-pre-wrap"; textStyle.whiteSpace = "-moz-pre-wrap"; textStyle.whiteSpace = "pre-wrap"; } - catch (e) { + catch (e) + { //internet explorer doesn't like these properties textStyle.whiteSpace = "pre"; }