Last active
June 25, 2016 09:12
-
-
Save amuhororo/7d9ef18a14054ceecf89c1d9c541c369 to your computer and use it in GitHub Desktop.
Backlog の妙な改行を止める
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tyrano.plugin.kag.tag.p = { | |
cw: true, | |
start: function() { | |
var that = this; | |
this.kag.pushBackLog("<br><br>"); //←コレを追加 | |
this.kag.stat.flag_ref_page = true; | |
if (this.kag.stat.is_skip == true) this.kag.ftag.nextOrder(); | |
else if (this.kag.stat.is_auto == true) { | |
this.kag.stat.is_wait_auto = true; | |
setTimeout(function() { | |
if (that.kag.stat.is_wait_auto == true) that.kag.ftag.nextOrder() | |
}, parseInt(that.kag.config.autoSpeed)) | |
}; | |
} | |
}; | |
(略) | |
tyrano.plugin.kag.tag.r = { | |
start: function() { | |
this.kag.pushBackLog("<br>"); //←コレを追加 | |
var j_inner_message = this.kag.getMessageInnerLayer(); | |
var txt = j_inner_message.find("p").find(".current_span").html() + "<br />"; | |
j_inner_message.find("p").find(".current_span").html(txt); | |
this.kag.ftag.nextOrder() | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment