Skip to content

Commit

Permalink
remove unused toggle function from core.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pifou25 committed Jun 1, 2024
1 parent f7d0c89 commit 2c023f6
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions core/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@
* along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
*/


function toggle(id, event = null) {
if(event !== null){
event.stopPropagation();
}
var x = document.getElementById(id);
console.debug(x.style.display);
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
return false;
}

function getTemplate(_folder, _version, _filename, _replace) {
if (_folder == 'core') {
var path = _folder + '/template/' + _version + '/' + _filename;
Expand Down

0 comments on commit 2c023f6

Please sign in to comment.