Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
ef3f6eac
Commit
ef3f6eac
authored
8 years ago
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input refactoring
parent
755d0f55
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/text_input.js
common/text_input.js
+2
-2
No files found.
common/text_input.js
View file @
ef3f6eac
...
...
@@ -117,7 +117,7 @@
this
.
TextArea_Not_ContentEditableDiv
=
true
;
//AscCommon.AscBrowser.isIeEdge ? false : true;
this
.
HtmlArea
=
null
;
this
.
HtmlAreaOffset
=
6
0
;
this
.
HtmlAreaOffset
=
4
0
;
this
.
LockerTargetTimer
=
-
1
;
...
...
@@ -204,7 +204,7 @@
var
_style
=
"
left:0px;top:
"
+
(
-
this
.
HtmlAreaOffset
)
+
"
px;
"
;
_style
+=
"
background:transparent;border:none;position:absolute;text-shadow:0 0 0 #000;outline:none;color:transparent;width:1000px;height:50px;
"
;
_style
+=
"
overflow:hidden;padding:0px;margin:0px;font-family:arial;font-size:1
2
pt;resize:none;font-weight:normal;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;
"
;
_style
+=
"
overflow:hidden;padding:0px;margin:0px;font-family:arial;font-size:1
0
pt;resize:none;font-weight:normal;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;
"
;
this
.
HtmlArea
.
setAttribute
(
"
style
"
,
_style
);
this
.
HtmlArea
.
setAttribute
(
"
spellcheck
"
,
false
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment