mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-14 21:16:55 +01:00
Fix issue #412, textmode not working correctly with js files
This commit is contained in:
@@ -246,7 +246,7 @@ class fileextension_textmode{
|
||||
//the availiable extensions, which aren't removed
|
||||
$availEx = array();
|
||||
foreach($ext as $ex => $mode){
|
||||
if(in_array($ex, $this->availiableTextModes)){
|
||||
if(in_array($mode, $this->availiableTextModes)){
|
||||
$availEx[$ex] = $mode;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user