Commit 83a20411 authored by Thomas Lechauve's avatar Thomas Lechauve

Remove dead code.

parent d9640b38
...@@ -24,12 +24,6 @@ ...@@ -24,12 +24,6 @@
} }
} else { } else {
$.vifib.replacepanel($(context), panels[0]); $.vifib.replacepanel($(context), panels[0]);
//if ($.vifib.device === 'mobile') {
//page = $.vifib.onepanel(context, panels[0]);
//$.vifib.changepage($(page));
//} else {
//$.vifib.replacepanel($(context), panels[0]);
//}
} }
// reverse to call functions from left panel to right panel // reverse to call functions from left panel to right panel
callbacks.reverse(); callbacks.reverse();
...@@ -103,7 +97,6 @@ ...@@ -103,7 +97,6 @@
divcontent.append(pancontext); divcontent.append(pancontext);
if (panels[i].hasOwnProperty('callback')) { if (panels[i].hasOwnProperty('callback')) {
callbacks.push({callback: panels[i].callback, context: pancontext}); callbacks.push({callback: panels[i].callback, context: pancontext});
//panels[i].callback.call(pancontext);
} }
} }
return divcontent; return divcontent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment