mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 17:38:20 +01:00
fix max recent entries number in codepad
This commit is contained in:
parent
738eb1f831
commit
5ca29f5103
1
Makefile
1
Makefile
@ -198,6 +198,7 @@ ar:
|
|||||||
BUILDDIR=/tmp/antos-$(VERSION) make release
|
BUILDDIR=/tmp/antos-$(VERSION) make release
|
||||||
cd /tmp/antos-$(VERSION) && tar cvzf ../antos-$(VERSION).tar.gz .
|
cd /tmp/antos-$(VERSION) && tar cvzf ../antos-$(VERSION).tar.gz .
|
||||||
mv /tmp/antos-$(VERSION).tar.gz release/
|
mv /tmp/antos-$(VERSION).tar.gz release/
|
||||||
|
echo $(VERSION) > release/latest
|
||||||
|
|
||||||
release: main uglify
|
release: main uglify
|
||||||
|
|
||||||
|
Binary file not shown.
1
release/latest
Normal file
1
release/latest
Normal file
@ -0,0 +1 @@
|
|||||||
|
1.2.0
|
@ -956,7 +956,9 @@ namespace OS {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.setting.recent.push(file);
|
this.setting.recent.push(file);
|
||||||
this.setting.recent.slice(0, 10);
|
if(this.setting.recent.length > 10)
|
||||||
|
this.setting.recent = this.setting.recent.slice(0, 10);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user