forked from Botanical/BotanJS
Various bug fix due to CSP headers
SiteLibrary added name display on album view Optimizations & removed some obsolete files
This commit is contained in:
@@ -107,7 +107,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
, doReply = function ()
|
||||
{
|
||||
var c_reply = this;
|
||||
@@ -116,13 +115,12 @@
|
||||
// Set comment id
|
||||
submit_button.setAttribute( new DataKey( "cid", c_reply.getAttribute( "value" ) ) );
|
||||
|
||||
// Close reply indicator
|
||||
Dand.id("ri_switch").style.top = "0";
|
||||
// close the triangle in the top rigth corner
|
||||
Dand.id( "ri_switch", true ).removeAttribute( "data-pointy" );
|
||||
|
||||
// If this button is not that button
|
||||
button && ( c_reply != button ) && releaseReplyButton();
|
||||
|
||||
|
||||
// Lock reply button
|
||||
c_reply.setAttribute("locked", "1");
|
||||
c_reply.onclick = null;
|
||||
@@ -313,7 +311,8 @@
|
||||
cp.style.height = "";
|
||||
cp.style.overflow = "";
|
||||
|
||||
Dand.id("ri_switch").style.top = "";
|
||||
// Pop back up the pointy triangle
|
||||
Dand.id( "ri_switch", true ).setAttribute( new DataKey( "pointy", "1" ) );
|
||||
|
||||
fieldReady = false;
|
||||
fieldReadyTrigger();
|
||||
|
||||
Reference in New Issue
Block a user