mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-10 04: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) {
|
||||
obj=$(obj);
|
||||
if (selText=this.getSelectedText()) {
|
||||
selText=this.getSelectedText();
|
||||
if (selText && selText != "") {
|
||||
this.putText(obj,'<blockquote>'+selText+'</blockquote>');
|
||||
} else {
|
||||
this.putTagAround(obj,'blockquote');
|
||||
|
|
Loading…
Reference in a new issue