1
0
Fork 0
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:
Mzhelskiy Maxim 2010-06-04 19:56:01 +00:00
parent fd8ba7cead
commit c5ace6fd27

View file

@ -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');