Skip to content

Commit 9ee91af

Browse files
committed
fixes #32 : highlight style drifts on zoomed page
1 parent 34c04f3 commit 9ee91af

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

jquery.highlighttextarea.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
// the highlighter has the same size than the "inner" textarea and must have the same font properties
274274
Utilities.cloneCss(this.$el, this.$highlighter, [
275275
'font-size','font-family','font-style','font-weight','font-variant','font-stretch',
276-
'line-height','vertical-align','word-spacing','text-align','letter-spacing', 'text-rendering'
276+
'vertical-align','word-spacing','text-align','letter-spacing', 'text-rendering'
277277
]);
278278

279279
// now make the textarea transparent to see the highlighter through

jquery.highlighttextarea.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"jquery.highlighttextarea.js"
1212
],
1313
"devDependencies": {
14-
"grunt": "~0.4.5",
15-
"grunt-contrib-uglify": "~0.4.0",
14+
"grunt": "^0.4.5",
1615
"grunt-contrib-cssmin": "~0.9.0",
17-
"grunt-contrib-jshint": "~0.10.0"
16+
"grunt-contrib-jshint": "~0.10.0",
17+
"grunt-contrib-uglify": "~0.4.0"
1818
},
1919
"keywords": [
2020
"textarea",
@@ -33,4 +33,4 @@
3333
"scripts": {
3434
"test": "grunt test --force"
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)