Completed
Push — master ( 046386...cb6324 )
by Dimas
08:22
created

views/blogger/edit.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 5
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 0
1
$("#body").on("click keydown", function (e) {
2
  // auto height (fit content)
3
  this.style.height = "";
4
  this.style.height = this.scrollHeight + "px";
5
});
6