mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-20 09:48:19 +03:00
fix js panel
This commit is contained in:
parent
fd8ba7cead
commit
c5ace6fd27
|
@ -58,7 +58,8 @@ var lsPanelClass = new Class({
|
||||||
|
|
||||||
putQuote: function(obj) {
|
putQuote: function(obj) {
|
||||||
obj=$(obj);
|
obj=$(obj);
|
||||||
if (selText=this.getSelectedText()) {
|
selText=this.getSelectedText();
|
||||||
|
if (selText && selText != "") {
|
||||||
this.putText(obj,'<blockquote>'+selText+'</blockquote>');
|
this.putText(obj,'<blockquote>'+selText+'</blockquote>');
|
||||||
} else {
|
} else {
|
||||||
this.putTagAround(obj,'blockquote');
|
this.putTagAround(obj,'blockquote');
|
||||||
|
|
Loading…
Reference in a new issue