noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 101/323: Fix bug from merge


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 101/323: Fix bug from merge
Date: Wed, 14 Mar 2018 17:38:32 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 5fb6b4856f1a0baad4c95ccc89a709e483d4da6a
Author: Dany De Bontridder <address@hidden>
Date:   Sat Jan 27 14:37:23 2018 +0100

    Fix bug from merge
---
 html/js/scripts.js | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/html/js/scripts.js b/html/js/scripts.js
index 1466e1a..6334279 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -3009,24 +3009,6 @@ function pin (object_id) {
     if ( aDraggableElement[object_id]) {
         aDraggableElement[object_id].destroy();
         aDraggableElement[object_id]=undefined;
-        $('pin_'+object_id).firstChild.innerHTML="&oplus;";
-    } else {
-        aDraggableElement[object_id]=new Draggable(object_id, {starteffect: 
function ()
-                {
-                    new Effect.Highlight(object_id, {scroll: window, queue: 
'end'});
-                }}
-            ); 
-        $('pin_'+object_id).firstChild.innerHTML="&#10057;";
-    }
-}
-/**
- * Make an DOM element draggable or not
- * @param object_id DOM id
- */
-function pin (object_id) {
-    if ( aDraggableElement[object_id]) {
-        aDraggableElement[object_id].destroy();
-        aDraggableElement[object_id]=undefined;
         $('pin_'+object_id).innerHTML="&#xf192;";
     } else {
         aDraggableElement[object_id]=new Draggable(object_id, {starteffect: 
function ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]